home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 4 / Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso / Pearls / etech / Spice / lib / helpdir / spice.txt < prev   
Text File  |  1996-09-03  |  402KB  |  8,273 lines

  1. SUBJECT: main
  2. TITLE: Table of Contents
  3. TEXT: H
  4. TEXT: H
  5. TEXT: H
  6. TEXT: H
  7. TEXT: H
  8. TEXT: H
  9. TEXT: H
  10. SUBTOPIC: SPICE:INTRODUCTION
  11. SUBTOPIC: SPICE:CIRCUIT DESCRIPTION
  12. SUBTOPIC: SPICE:CIRCUIT ELEMENTS AND MODELS
  13. SUBTOPIC: SPICE:ANALYSES AND OUTPUT CONTROL
  14. SUBTOPIC: SPICE:INTERACTIVE INTERPRETER
  15. SUBTOPIC: SPICE:BIBLIOGRAPHY
  16. SUBTOPIC: SPICE:APPENDIX A
  17. SUBTOPIC: SPICE:APPENDIX B
  18. SUBJECT: INTRODUCTION
  19. TITLE: INTRODUCTION
  20. TEXT: H
  21. TEXT: H _1.  _I_N_T_R_O_D_U_C_T_I_O_N
  22. TEXT: H
  23. TEXT: H
  24. TEXT: H      SPICE is a general-purpose circuit  simulation  program
  25. TEXT: H for  nonlinear  dc,  nonlinear transient, and linear ac ana-
  26. TEXT: H lyses.  Circuits may contain resistors,  capacitors,  induc-
  27. TEXT: H tors,  mutual  inductors,  independent  voltage  and current
  28. TEXT: H sources, four types of dependent sources, lossless and lossy
  29. TEXT: H transmission lines (two separate implementations), switches,
  30. TEXT: H uniform distributed RC lines, and the five most common  sem-
  31. TEXT: H iconductor  devices:  diodes, BJTs, JFETs, MESFETs, and MOS-
  32. TEXT: H FETs.
  33. TEXT: H
  34. TEXT: H      The SPICE3 version is based  directly  on  SPICE  2G.6.
  35. TEXT: H While  SPICE3 is being developed to include new features, it
  36. TEXT: H continues to support those  capabilities  and  models  which
  37. TEXT: H remain in extensive use in the SPICE2 program.
  38. TEXT: H
  39. TEXT: H      SPICE has built-in models for  the  semiconductor  dev-
  40. TEXT: H ices,  and  the  user  need specify only the pertinent model
  41. TEXT: H parameter values.  The model for the BJT  is  based  on  the
  42. TEXT: H integral-charge  model  of Gummel and Poon;  however, if the
  43. TEXT: H Gummel- Poon parameters are not specified, the model reduces
  44. TEXT: H to  the  simpler  Ebers-Moll model.  In either case, charge-
  45. TEXT: H storage effects, ohmic resistances, and a  current-dependent
  46. TEXT: H output  conductance may be included.  The diode model can be
  47. TEXT: H used for either junction diodes or Schottky barrier  diodes.
  48. TEXT: H The  JFET  model  is  based on the FET model of Shichman and
  49. TEXT: H Hodges.   Six  MOSFET  models  are  implemented:   MOS1   is
  50. TEXT: H described by a square-law I-V characteristic, MOS2 [1] is an
  51. TEXT: H analytical model, while MOS3 [1] is a semi-empirical  model;
  52. TEXT: H MOS6  [2]  is a simple analytic model accurate in the short-
  53. TEXT: H channel region; MOS4 [3,  4]  and  MOS5  [5]  are  the  BSIM
  54. TEXT: H (Berkeley Short-channel IGFET Model) and BSIM2.  MOS2, MOS3,
  55. TEXT: H and MOS4 include second-order effects such as channel-length
  56. TEXT: H modulation,   subthreshold   conduction,  scattering-limited
  57. TEXT: H velocity  saturation,  small-size   effects,   and   charge-
  58. TEXT: H controlled capacitances.
  59. SUBTOPIC: SPICE:TYPES OF ANALYSIS
  60. SUBTOPIC: SPICE:ANALYSIS AT DIFFERENT TEMPERATURES
  61. SUBTOPIC: SPICE:CONVERGENCE
  62.  
  63. SUBJECT: TYPES OF ANALYSIS
  64. TITLE: TYPES OF ANALYSIS
  65. TEXT: H
  66. TEXT: H _1._1.  _T_Y_P_E_S _O_F _A_N_A_L_Y_S_I_S
  67. TEXT: H
  68. SUBTOPIC: SPICE:DC Analysis
  69. SUBTOPIC: SPICE:AC SmallSignal Analysis
  70. SUBTOPIC: SPICE:Transient Analysis
  71. SUBTOPIC: SPICE:PoleZero Analysis
  72. SUBTOPIC: SPICE:SmallSignal Distortion Analysis
  73. SUBTOPIC: SPICE:Sensitivity Analysis
  74. SUBTOPIC: SPICE:Noise Analysis
  75.  
  76. SUBJECT: DC Analysis
  77. TITLE: DC Analysis
  78. TEXT: H
  79. TEXT: H _1._1._1.  _D_C _A_n_a_l_y_s_i_s
  80. TEXT: H
  81. TEXT: H
  82. TEXT: H      The dc analysis portion  of  SPICE  determines  the  dc
  83. TEXT: H operating  point  of  the circuit with inductors shorted and
  84. TEXT: H capacitors opened.  The dc analysis options are specified on
  85. TEXT: H the  .DC,  .TF,  and  .OP  control  lines.  A dc analysis is
  86. TEXT: H automatically performed prior to  a  transient  analysis  to
  87. TEXT: H determine  the transient initial conditions, and prior to an
  88. TEXT: H ac  small-signal  analysis  to  determine  the   linearized,
  89. TEXT: H small-signal  models  for  nonlinear devices.  If requested,
  90. TEXT: H the dc small-signal value of a transfer function  (ratio  of
  91. TEXT: H output variable to input source), input resistance, and out-
  92. TEXT: H put resistance is also computed as a part of  the  dc  solu-
  93. TEXT: H tion.   The  dc  analysis  can  also  be used to generate dc
  94. TEXT: H transfer curves:  a specified independent voltage or current
  95. TEXT: H source  is  stepped  over  a user-specified range and the dc
  96. TEXT: H output variables  are  stored  for  each  sequential  source
  97. TEXT: H value.
  98. TEXT: H
  99.  
  100. SUBJECT: AC SmallSignal Analysis
  101. TITLE: AC Small-Signal Analysis
  102. TEXT: H
  103. TEXT: H _1._1._2.  _A_C _S_m_a_l_l-_S_i_g_n_a_l _A_n_a_l_y_s_i_s
  104. TEXT: H
  105. TEXT: H
  106. TEXT: H      The ac small-signal portion of SPICE  computes  the  ac
  107. TEXT: H output  variables  as  a function of frequency.  The program
  108. TEXT: H first computes the dc operating point  of  the  circuit  and
  109. TEXT: H determines  linearized,  small-signal  models for all of the
  110. TEXT: H nonlinear devices in the circuit.  The resultant linear cir-
  111. TEXT: H cuit  is  then  analyzed over a user-specified range of fre-
  112. TEXT: H quencies.   The  desired  output  of  an  ac  small-  signal
  113. TEXT: H analysis is usually a transfer function (voltage gain, tran-
  114. TEXT: H simpedance, etc).  If the circuit has only one ac input,  it
  115. TEXT: H is  convenient to set that input to unity and zero phase, so
  116. TEXT: H that output variables have the same value  as  the  transfer
  117. TEXT: H function of the output variable with respect to the input.
  118. TEXT: H
  119.  
  120. SUBJECT: Transient Analysis
  121. TITLE: Transient Analysis
  122. TEXT: H
  123. TEXT: H _1._1._3.  _T_r_a_n_s_i_e_n_t _A_n_a_l_y_s_i_s
  124. TEXT: H
  125. TEXT: H      The transient analysis portion of  SPICE  computes  the
  126. TEXT: H transient  output  variables  as  a  function of time over a
  127. TEXT: H user-specified time interval.  The  initial  conditions  are
  128. TEXT: H automatically  determined  by  a  dc  analysis.  All sources
  129. TEXT: H which are not time dependent (for example,  power  supplies)
  130. TEXT: H are  set  to their dc value.  The transient time interval is
  131. TEXT: H specified on a .TRAN control line.
  132. TEXT: H
  133.  
  134. SUBJECT: PoleZero Analysis
  135. TITLE: Pole-Zero Analysis
  136. TEXT: H
  137. TEXT: H _1._1._4.  _P_o_l_e-_Z_e_r_o _A_n_a_l_y_s_i_s
  138. TEXT: H
  139. TEXT: H
  140. TEXT: H      The pole-zero analysis portion of  SPICE  computes  the
  141. TEXT: H poles and/or zeros in the small-signal ac transfer function.
  142. TEXT: H The program first computes the dc operating point  and  then
  143. TEXT: H determines  the  linearized, small-signal models for all the
  144. TEXT: H nonlinear devices in the circuit.  This circuit is then used
  145. TEXT: H to find the poles and zeros of the transfer function.
  146. TEXT: H
  147. TEXT: H      Two types of transfer functions are allowed  :  one  of
  148. TEXT: H the  form  (output voltage)/(input voltage) and the other of
  149. TEXT: H the form (output voltage)/(input current).  These two  types
  150. TEXT: H of  transfer  functions cover all the cases and one can find
  151. TEXT: H the poles/zeros of functions like input/output impedance and
  152. TEXT: H voltage  gain.   The input and output ports are specified as
  153. TEXT: H two pairs of nodes.
  154. TEXT: H
  155. TEXT: H      The pole-zero analysis works  with  resistors,  capaci-
  156. TEXT: H tors,   inductors,  linear-controlled  sources,  independent
  157. TEXT: H sources, BJTs,  MOSFETs,  JFETs  and  diodes.   Transmission
  158. TEXT: H lines are not supported.
  159. TEXT: H
  160. TEXT: H      The method used in the analysis is a sub-optimal numer-
  161. TEXT: H ical  search.  For large circuits it may take a considerable
  162. TEXT: H time or fail to find all poles and  zeros.   For  some  cir-
  163. TEXT: H cuits,  the  method  becomes  "lost"  and finds an excessive
  164. TEXT: H number of poles or zeros.
  165. TEXT: H
  166.  
  167. SUBJECT: SmallSignal Distortion Analysis
  168. TITLE: Small-Signal Distortion Analysis
  169. TEXT: H
  170. TEXT: H _1._1._5.  _S_m_a_l_l-_S_i_g_n_a_l _D_i_s_t_o_r_t_i_o_n _A_n_a_l_y_s_i_s
  171. TEXT: H
  172. TEXT: H
  173. TEXT: H      The  distortion  analysis  portion  of  SPICE  computes
  174. TEXT: H steady-state harmonic and intermodulation products for small
  175. TEXT: H input signal magnitudes.  If signals of a  single  frequency
  176. TEXT: H are  specified  as  the  input  to  the circuit, the complex
  177. TEXT: H values of the second and third harmonics are  determined  at
  178. TEXT: H every  point  in  the  circuit.  If there are signals of two
  179. TEXT: H frequencies input to the circuit, the analysis finds out the
  180. TEXT: H complex  values  of  the  circuit  variables  at the sum and
  181. TEXT: H difference of the input frequencies, and at  the  difference
  182. TEXT: H of  the  smaller  frequency  from the second harmonic of the
  183. TEXT: H larger frequency.
  184. TEXT: H
  185. TEXT: H      Distortion analysis is supported for the following non-
  186. TEXT: H linear  devices: diodes (DIO), BJT, JFET, MOSFETs (levels 1,
  187. TEXT: H 2, 3, 4/BSIM1, 5/BSIM2, and 6) and MESFETS.  All linear dev-
  188. TEXT: H ices are automatically supported by distortion analysis.  If
  189. TEXT: H there are switches present in the circuit, the analysis con-
  190. TEXT: H tinues  to  be  accurate provided the switches do not change
  191. TEXT: H state under the small excitations used for distortion calcu-
  192. TEXT: H lations.
  193. TEXT: H
  194.  
  195. SUBJECT: Sensitivity Analysis
  196. TITLE: Sensitivity Analysis
  197. TEXT: H
  198. TEXT: H _1._1._6.  _S_e_n_s_i_t_i_v_i_t_y _A_n_a_l_y_s_i_s
  199. TEXT: H
  200. TEXT: H
  201. TEXT: H      Spice3 will calculate  either  the  DC  operating-point
  202. TEXT: H sensitivity  or the AC small-signal sensitivity of an output
  203. TEXT: H variable with respect to all  circuit  variables,  including
  204. TEXT: H model  parameters.   Spice  calculates  the difference in an
  205. TEXT: H output variable (either a node voltage or a branch  current)
  206. TEXT: H by  perturbing  each parameter of each device independently.
  207. TEXT: H Since the method is a numerical approximation,  the  results
  208. TEXT: H may  demonstrate  second  order  affects in highly sensitive
  209. TEXT: H parameters, or may fail to show very low but non-zero sensi-
  210. TEXT: H tivity.   Further, since each variable is perturb by a small
  211. TEXT: H fraction of its value, zero-valued parameters are not analy-
  212. TEXT: H ized  (this  has  the  benefit of reducing what is usually a
  213. TEXT: H very large amount of data).
  214. TEXT: H
  215.  
  216. SUBJECT: Noise Analysis
  217. TITLE: Noise Analysis
  218. TEXT: H
  219. TEXT: H _1._1._7.  _N_o_i_s_e _A_n_a_l_y_s_i_s
  220. TEXT: H
  221. TEXT: H
  222. TEXT: H      The noise  analysis  portion  of  SPICE  does  analysis
  223. TEXT: H device-generated noise for the given circuit.  When provided
  224. TEXT: H with an input source and an output port, the analysis calcu-
  225. TEXT: H lates the noise contributions of each device (and each noise
  226. TEXT: H generator within the device) to the output port voltage.  It
  227. TEXT: H also  calculates  the input noise to the circuit, equivalent
  228. TEXT: H to the output noise referred to the specified input  source.
  229. TEXT: H This  is done for every frequency point in a specified range
  230. TEXT: H - the calculated value of the noise corresponds to the spec-
  231. TEXT: H tral  density of the circuit variable viewed as a stationary
  232. TEXT: H gaussian stochastic process.
  233. TEXT: H
  234. TEXT: H      After  calculating  the   spectral   densities,   noise
  235. TEXT: H analysis  integrates  these  values  over the specified fre-
  236. TEXT: H quency range to arrive at the  total  noise  voltage/current
  237. TEXT: H (over   this   frequency   range).   This  calculated  value
  238. TEXT: H corresponds to the variance of the circuit  variable  viewed
  239. TEXT: H as a stationary gaussian process.
  240.  
  241. SUBJECT: ANALYSIS AT DIFFERENT TEMPERATURES
  242. TITLE: ANALYSIS AT DIFFERENT TEMPERATURES
  243. TEXT: H
  244. TEXT: H _1._2.  _A_N_A_L_Y_S_I_S _A_T _D_I_F_F_E_R_E_N_T _T_E_M_P_E_R_A_T_U_R_E_S
  245. TEXT: H
  246. TEXT: H
  247. TEXT: H      All input data for SPICE is assumed to have been  meas-
  248. TEXT: H                                     o
  249. TEXT: H ured  at a nominal temperature of 27 C, which can be changed
  250. TEXT: H by use of the TNOM parameter on the  .OPTION  control  line.
  251. TEXT: H This  value  can  further be overridden for any device which
  252. TEXT: H models temperature effects by specifying the TNOM  parameter
  253. TEXT: H on the model itself.  The circuit simulation is performed at
  254. TEXT: H                    o
  255. TEXT: H a temperature of 27 C, unless overridden by a TEMP parameter
  256. TEXT: H on  the  .OPTION  control  line.   Individual  instances may
  257. TEXT: H further override the circuit temperature through the specif-
  258. TEXT: H ication of a TEMP parameter on the instance.
  259. TEXT: H
  260. TEXT: H      Temperature dependent support is  provided  for  resis-
  261. TEXT: H tors,  diodes,  JFETs,  BJTs, and level 1, 2, and 3 MOSFETs.
  262. TEXT: H BSIM (levels 4 and 5) MOSFETs have an alternate  temperature
  263. TEXT: H dependency  scheme which adjusts all of the model parameters
  264. TEXT: H before input to SPICE.  For details of the BSIM  temperature
  265. TEXT: H adjustment, see [6] and [7].
  266. TEXT: H
  267. TEXT: H
  268. TEXT: H      Temperature appears explicitly in the exponential terms
  269. TEXT: H of  the BJT and diode model equations.  In addition, satura-
  270. TEXT: H tion currents have a built-in temperature  dependence.   The
  271. TEXT: H temperature  dependence of the saturation current in the BJT
  272. TEXT: H models is determined by:
  273. TEXT: H
  274. TEXT: H                              XTI
  275. TEXT: H                          |T |        | E q(T  T )|
  276. TEXT: H                            1            g   1  0
  277. TEXT: H          I (T ) = I (T ) |--|     exp|-----------|
  278. TEXT: H           S  1     S  0
  279. TEXT: H                          |T |        |k (T  - T )|
  280. TEXT: H                            0              1    0
  281. TEXT: H
  282. TEXT: H
  283. TEXT: H
  284. TEXT: H where k is Boltzmann's constant,  q  is  the  electronic
  285. TEXT: H charge, E  is the energy gap which is a model parameter,
  286. TEXT: H          G
  287. TEXT: H and XTI is the saturation current  temperature  exponent
  288. TEXT: H (also a model parameter, and usually equal to 3).
  289. TEXT: H
  290. TEXT: H
  291. TEXT: H
  292. TEXT: H      The temperature dependence of forward and reverse  beta
  293. TEXT: H is according to the formula:
  294. TEXT: H
  295. TEXT: H                                      XTB
  296. TEXT: H                                  |T |
  297. TEXT: H                                    1
  298. TEXT: H                    B(T ) = B(T ) |--|
  299. TEXT: H                       1       0
  300. TEXT: H                                  |T |
  301. TEXT: H                                    0
  302. TEXT: H
  303. TEXT: H
  304. TEXT: H
  305. TEXT: H where T  and T  are in degrees  Kelvin,  and  XTB  is  a
  306. TEXT: H        1      0
  307. TEXT: H user-supplied  model  parameter.  Temperature effects on
  308. TEXT: H beta are carried out by appropriate  adjustment  to  the
  309. TEXT: H values  of  B , I  , B , and I   (spice model parameters
  310. TEXT: H              F   SE   R       SC
  311. TEXT: H BF, ISE, BR, and ISC, respectively).
  312. TEXT: H
  313. TEXT: H
  314. TEXT: H
  315. TEXT: H      Temperature dependence of the saturation current in the
  316. TEXT: H junction diode model is determined by:
  317. TEXT: H
  318. TEXT: H                             XTI
  319. TEXT: H                             ---
  320. TEXT: H                              N
  321. TEXT: H                         |T |        |  E q(T  T ) |
  322. TEXT: H                           1             g   1  0
  323. TEXT: H         I (T ) = I (T ) |--|     exp|-------------|
  324. TEXT: H          S  1     S  0
  325. TEXT: H                         |T |        |N k (T  - T )|
  326. TEXT: H                           0                1    0
  327. TEXT: H
  328. TEXT: H
  329. TEXT: H
  330. TEXT: H where N is the emission coefficient, which  is  a  model
  331. TEXT: H parameter,  and  the other symbols have the same meaning
  332. TEXT: H as above.  Note that for Schottky  barrier  diodes,  the
  333. TEXT: H value  of  the  saturation current temperature exponent,
  334. TEXT: H XTI, is usually 2.
  335. TEXT: H
  336. TEXT: H
  337. TEXT: H
  338. TEXT: H      Temperature appears explicitly in the value of junction
  339. TEXT: H potential, U (in spice PHI), for all the device models.  The
  340. TEXT: H temperature dependence is determined by:
  341. TEXT: H
  342. TEXT: H
  343. TEXT: H                                   | N N   |
  344. TEXT: H                                      a d
  345. TEXT: H                          kT       |------ |
  346. TEXT: H                   U(T) = --  log        2
  347. TEXT: H                           q     e |N (T)  |
  348. TEXT: H                                     i
  349. TEXT: H
  350. TEXT: H
  351. TEXT: H where k is Boltzmann's constant,  q  is  the  electronic
  352. TEXT: H charge,  N   is the acceptor impurity density, N  is the
  353. TEXT: H           a                                     d
  354. TEXT: H donor impurity density, N  is the intrinsic carrier con-
  355. TEXT: H                          i
  356. TEXT: H centration, and E  is the energy gap.
  357. TEXT: H                  g
  358. TEXT: H
  359. TEXT: H
  360. TEXT: H
  361. TEXT: H      Temperature appears explicitly in the value of  surface
  362. TEXT: H mobility, M  (or UO), for the MOSFET model.  The temperature
  363. TEXT: H            0
  364. TEXT: H dependence is determined by:
  365. TEXT: H
  366. TEXT: H
  367. TEXT: H                                M (T )
  368. TEXT: H                                 0  0
  369. TEXT: H                       M (T) = -------
  370. TEXT: H                        0          1.5
  371. TEXT: H                               | T|
  372. TEXT: H                               |--|
  373. TEXT: H                               |T |
  374. TEXT: H                                 0
  375. TEXT: H
  376. TEXT: H
  377. TEXT: H
  378. TEXT: H
  379. TEXT: H
  380. TEXT: H
  381. TEXT: H      The effects of temperature on resistors is  modeled  by
  382. TEXT: H the formula:
  383. TEXT: H
  384. TEXT: H
  385. TEXT: H                                                    2
  386. TEXT: H       R(T) = R(T ) [1 + TC  (T - T ) + TC  (T - T ) ]
  387. TEXT: H                 0         1       0      2       0
  388. TEXT: H
  389. TEXT: H
  390. TEXT: H
  391. TEXT: H where T is the circuit temperature, T   is  the  nominal
  392. TEXT: H                                      0
  393. TEXT: H temperature,  and TC  and TC  are the first- and second-
  394. TEXT: H                     1       2
  395. TEXT: H order temperature coefficients.
  396. TEXT: H
  397.  
  398. SUBJECT: CONVERGENCE
  399. TITLE: CONVERGENCE
  400. TEXT: H
  401. TEXT: H _1._3.  _C_O_N_V_E_R_G_E_N_C_E
  402. TEXT: H
  403. TEXT: H
  404. TEXT: H      Both dc and transient  solutions  are  obtained  by  an
  405. TEXT: H iterative  process which is terminated when both of the fol-
  406. TEXT: H lowing conditions hold:
  407. TEXT: H
  408. TEXT: H
  409. TEXT: H 1)   The nonlinear branch  currents  converge  to  within  a
  410. TEXT: H      tolerance of 0.1% or 1 picoamp (1.0e-12 Amp), whichever
  411. TEXT: H      is larger.
  412. TEXT: H
  413. TEXT: H 2)   The node voltages converge to  within  a  tolerance  of
  414. TEXT: H      0.1% or 1 microvolt (1.0e-6 Volt), whichever is larger.
  415. TEXT: H
  416. TEXT: H      Although the algorithm used in SPICE has been found  to
  417. TEXT: H be  very  reliable,  in some cases it fails to converge to a
  418. TEXT: H solution.  When this failure occurs, the program  terminates
  419. TEXT: H the job.
  420. TEXT: H
  421. TEXT: H      Failure to converge in dc analysis is usually due to an
  422. TEXT: H error  in specifying circuit connections, element values, or
  423. TEXT: H model parameter values.  Regenerative switching circuits  or
  424. TEXT: H circuits  with  positive feedback probably will not converge
  425. TEXT: H in the dc analysis unless the OFF option is used for some of
  426. TEXT: H the  devices  in  the feedback path, or the .NODESET control
  427. TEXT: H line is used to force the circuit to converge to the desired
  428. TEXT: H state.
  429.  
  430. SUBJECT: CIRCUIT DESCRIPTION
  431. TITLE: CIRCUIT DESCRIPTION
  432. TEXT: H
  433. TEXT: H _2.  _C_I_R_C_U_I_T _D_E_S_C_R_I_P_T_I_O_N
  434. SUBTOPIC: SPICE:GENERAL STRUCTURE AND CONVENTIONS
  435. SUBTOPIC: SPICE:TITLE LINE COMMENT LINES AND .END LINE
  436. SUBTOPIC: SPICE:DEVICE MODELS
  437. SUBTOPIC: SPICE:SUBCIRCUITS
  438. SUBTOPIC: SPICE:COMBINING FILES
  439.  
  440. SUBJECT: GENERAL STRUCTURE AND CONVENTIONS
  441. TITLE: GENERAL STRUCTURE AND CONVENTIONS
  442. TEXT: H
  443. TEXT: H _2._1.  _G_E_N_E_R_A_L _S_T_R_U_C_T_U_R_E _A_N_D _C_O_N_V_E_N_T_I_O_N_S
  444. TEXT: H
  445. TEXT: H
  446. TEXT: H      The circuit to be analyzed is described to SPICE  by  a
  447. TEXT: H set  of element lines, which define the circuit topology and
  448. TEXT: H element values, and a set of control lines, which define the
  449. TEXT: H model  parameters  and  the run controls.  The first line in
  450. TEXT: H the input file must be the title, and the last line must  be
  451. TEXT: H ".END".   The  order  of  the  remaining  lines is arbitrary
  452. TEXT: H (except, of course, that continuation lines must immediately
  453. TEXT: H follow the line being continued).
  454. TEXT: H
  455. TEXT: H      Each element in the circuit is specified by an  element
  456. TEXT: H line  that  contains  the element name, the circuit nodes to
  457. TEXT: H which the element is connected, and the values of the param-
  458. TEXT: H eters  that  determine the electrical characteristics of the
  459. TEXT: H element.  The first letter of the element name specifies the
  460. TEXT: H element  type.   The  format  for the SPICE element types is
  461. TEXT: H given in what follows.  The strings  XXXXXXX,  YYYYYYY,  and
  462. TEXT: H ZZZZZZZ denote arbitrary alphanumeric strings.  For example,
  463. TEXT: H a resistor name must begin with the letter R and can contain
  464. TEXT: H one  or  more  characters.   Hence,  R,  R1,  RSE, ROUT, and
  465. TEXT: H R3AC2ZY are valid resistor names.  Details of each  type  of
  466. TEXT: H device are supplied in a following section.
  467. TEXT: H
  468. TEXT: H      Fields on a line are separated by one or more blanks, a
  469. TEXT: H comma,  an equal ('=') sign, or a left or right parenthesis;
  470. TEXT: H extra spaces are ignored.  A line may be continued by enter-
  471. TEXT: H ing  a  '+'  (plus) in column 1 of the following line; SPICE
  472. TEXT: H continues reading beginning with column 2.
  473. TEXT: H
  474. TEXT: H      A name field must begin with a letter (A through Z) and
  475. TEXT: H cannot contain any delimiters.
  476. TEXT: H
  477. TEXT: H
  478. TEXT: H      A number field may be an integer  field  (12,  -44),  a
  479. TEXT: H floating  point field (3.14159), either an integer or float-
  480. TEXT: H ing point number followed by  an  integer  exponent  (1e-14,
  481. TEXT: H 2.65e3),  or  either  an  integer or a floating point number
  482. TEXT: H followed by one of the following scale factors:
  483. TEXT: H
  484. TEXT: H       12         9                    6         3               -6
  485. TEXT: H T = 10     G = 10             Meg = 10    K = 10      mil = 25.4
  486. TEXT: H       -3                 -6         -9          -12         -15
  487. TEXT: H m = 10     u (or  M) = 10     n = 10      p = 10      f = 10
  488. TEXT: H
  489. TEXT: H
  490. TEXT: H
  491. TEXT: H Letters immediately following a number that  are  not  scale
  492. TEXT: H factors  are  ignored,  and  letters immediately following a
  493. TEXT: H scale factor are ignored.  Hence, 10, 10V, 10Volts, and 10Hz
  494. TEXT: H all  represent  the  same number, and M, MA, MSec, and MMhos
  495. TEXT: H all represent  the  same  scale  factor.   Note  that  1000,
  496. TEXT: H 1000.0,  1000Hz,  1e3, 1.0e3, 1KHz, and 1K all represent the
  497. TEXT: H same number.
  498. TEXT: H
  499. TEXT: H      Nodes names may be arbitrary  character  strings.   The
  500. TEXT: H datum  (ground) node must be named '0'.  Note the difference
  501. TEXT: H in SPICE3 where the nodes are treated as  character  strings
  502. TEXT: H and not evaluated as numbers, thus '0' and '00' are distinct
  503. TEXT: H nodes in SPICE3 but not in SPICE2.  The circuit cannot  con-
  504. TEXT: H tain  a  loop of voltage sources and/or inductors and cannot
  505. TEXT: H contain a cut-set  of  current  sources  and/or  capacitors.
  506. TEXT: H Each  node  in  the  circuit  must have a dc path to ground.
  507. TEXT: H Every node must have at least  two  connections  except  for
  508. TEXT: H transmission line nodes (to permit unterminated transmission
  509. TEXT: H lines) and MOSFET substrate nodes (which have  two  internal
  510. TEXT: H connections anyway).
  511. TEXT: H
  512.  
  513. SUBJECT: TITLE LINE COMMENT LINES AND .END LINE
  514. TITLE: TITLE LINE, COMMENT LINES AND .END LINE
  515. TEXT: H
  516. TEXT: H _2._2.  _T_I_T_L_E _L_I_N_E, _C_O_M_M_E_N_T _L_I_N_E_S _A_N_D ._E_N_D _L_I_N_E
  517. TEXT: H
  518. SUBTOPIC: SPICE:Title Line
  519. SUBTOPIC: SPICE:.END Line
  520. SUBTOPIC: SPICE:Comments
  521.  
  522. SUBJECT: Title Line
  523. TITLE: Title Line
  524. TEXT: H
  525. TEXT: H _2._2._1.  _T_i_t_l_e _L_i_n_e
  526. TEXT: H
  527. TEXT: H
  528. TEXT: H _E_x_a_m_p_l_e_s:
  529. TEXT: H
  530. TEXT: H     POWER AMPLIFIER CIRCUIT
  531. TEXT: H     TEST OF CAM CELL
  532. TEXT: H
  533. TEXT: H
  534. TEXT: H      The title line must be the first  in  the  input  file.
  535. TEXT: H Its  contents  are  printed verbatim as the heading for each
  536. TEXT: H section of output.
  537. TEXT: H
  538. TEXT: H
  539.  
  540. SUBJECT: .END Line
  541. TITLE: .END Line
  542. TEXT: H
  543. TEXT: H _2._2._2.  ._E_N_D _L_i_n_e
  544. TEXT: H
  545. TEXT: H
  546. TEXT: H _E_x_a_m_p_l_e_s:
  547. TEXT: H
  548. TEXT: H     .END
  549. TEXT: H
  550. TEXT: H
  551. TEXT: H      The "End" line must always be the last in the input
  552. TEXT: H file.   Note  that the period is an integral part of the
  553. TEXT: H name.
  554. TEXT: H
  555. TEXT: H
  556. TEXT: H
  557.  
  558. SUBJECT: Comments
  559. TITLE: Comments
  560. TEXT: H
  561. TEXT: H _2._2._3.  _C_o_m_m_e_n_t_s
  562. TEXT: H
  563. TEXT: H _G_e_n_e_r_a_l _F_o_r_m:
  564. TEXT: H
  565. TEXT: H     * <any comment>
  566. TEXT: H
  567. TEXT: H
  568. TEXT: H _E_x_a_m_p_l_e_s:
  569. TEXT: H
  570. TEXT: H     * RF=1K      Gain should be 100
  571. TEXT: H     * Check open-loop gain and phase margin
  572. TEXT: H
  573. TEXT: H
  574. TEXT: H      The asterisk in the  first  column  indicates  that
  575. TEXT: H this  line  is  a  comment  line.   Comment lines may be
  576. TEXT: H placed anywhere in the circuit description.   Note  that
  577. TEXT: H SPICE3  also considers any line with leading white space
  578. TEXT: H to be a comment.
  579. TEXT: H
  580. TEXT: H
  581.  
  582. SUBJECT: DEVICE MODELS
  583. TITLE: DEVICE MODELS
  584. TEXT: H
  585. TEXT: H _2._3.  _D_E_V_I_C_E _M_O_D_E_L_S
  586. TEXT: H
  587. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  588. TEXT: H
  589. TEXT: H     .MODEL MNAME TYPE(PNAME1=PVAL1 PNAME2=PVAL2 ... )
  590. TEXT: H
  591. TEXT: H
  592. TEXT: H _E_x_a_m_p_l_e_s:
  593. TEXT: H
  594. TEXT: H     .MODEL MOD1 NPN (BF=50 IS=1E-13 VBF=50)
  595. TEXT: H
  596. TEXT: H
  597. TEXT: H
  598. TEXT: H      Most simple circuit elements typically require  only  a
  599. TEXT: H few  parameter values.  However, some devices (semiconductor
  600. TEXT: H devices in particular) that are included  in  SPICE  require
  601. TEXT: H many parameter values.  Often, many devices in a circuit are
  602. TEXT: H defined by the same set of  device  model  parameters.   For
  603. TEXT: H these  reasons,  a set of device model parameters is defined
  604. TEXT: H on a separate .MODEL line and assigned a unique model  name.
  605. TEXT: H The  device  element  lines in SPICE then refer to the model
  606. TEXT: H name.
  607. TEXT: H
  608. TEXT: H      For these more complex device types, each  device  ele-
  609. TEXT: H ment  line  contains the device name, the nodes to which the
  610. TEXT: H device is connected, and the device model  name.   In  addi-
  611. TEXT: H tion,  other  optional  parameters may be specified for some
  612. TEXT: H devices:  geometric factors and an  initial  condition  (see
  613. TEXT: H the following section on Transistors and Diodes for more de-
  614. TEXT: H tails).
  615. TEXT: H
  616. TEXT: H      MNAME in the above is the model name, and type  is  one
  617. TEXT: H of the following fifteen types:
  618. TEXT: H
  619. TEXT: H             R      Semiconductor resistor model
  620. TEXT: H             C      Semiconductor capacitor model
  621. TEXT: H             SW     Voltage controlled switch
  622. TEXT: H             CSW    Current controlled switch
  623. TEXT: H             URC    Uniform distributed RC model
  624. TEXT: H             LTRA   Lossy transmission line model
  625. TEXT: H             D      Diode model
  626. TEXT: H             NPN    NPN BJT model
  627. TEXT: H             PNP    PNP BJT model
  628. TEXT: H             NJF    N-channel JFET model
  629. TEXT: H             PJF    P-channel JFET model
  630. TEXT: H             NMOS   N-channel MOSFET model
  631. TEXT: H             PMOS   P-channel MOSFET model
  632. TEXT: H             NMF    N-channel MESFET model
  633. TEXT: H             PMF    P-channel MESFET model
  634. TEXT: H
  635. TEXT: H
  636. TEXT: H
  637. TEXT: H      Parameter values are defined by appending the parameter
  638. TEXT: H name  followed  by  an  equal  sign and the parameter value.
  639. TEXT: H Model parameters that are not given a value are assigned the
  640. TEXT: H default  values  given  below  for each model type.  Models,
  641. TEXT: H model parameters, and default values are listed in the  next
  642. TEXT: H section along with the description of device element lines.
  643. TEXT: H
  644.  
  645. SUBJECT: SUBCIRCUITS
  646. TITLE: SUBCIRCUITS
  647. TEXT: H
  648. TEXT: H _2._4.  _S_U_B_C_I_R_C_U_I_T_S
  649. TEXT: H
  650. TEXT: H
  651. TEXT: H      A subcircuit that consists of  SPICE  elements  can  be
  652. TEXT: H defined  and  referenced  in  a  fashion  similar  to device
  653. TEXT: H models.  The subcircuit is defined in the input  file  by  a
  654. TEXT: H grouping  of  element lines;  the program then automatically
  655. TEXT: H inserts the group of elements  wherever  the  subcircuit  is
  656. TEXT: H referenced.   There is no limit on the size or complexity of
  657. TEXT: H subcircuits, and subcircuits may contain other  subcircuits.
  658. TEXT: H An example of subcircuit usage is given in Appendix A.
  659. TEXT: H
  660. TEXT: H
  661. SUBTOPIC: SPICE:.SUBCKT Line
  662. SUBTOPIC: SPICE:.ENDS Line
  663. SUBTOPIC: SPICE:Subcircuit Calls
  664.  
  665. SUBJECT: .SUBCKT Line
  666. TITLE: .SUBCKT Line
  667. TEXT: H
  668. TEXT: H _2._4._1.  ._S_U_B_C_K_T _L_i_n_e
  669. TEXT: H
  670. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  671. TEXT: H
  672. TEXT: H     .SUBCKT subnam N1 <N2 N3 ...>
  673. TEXT: H
  674. TEXT: H
  675. TEXT: H _E_x_a_m_p_l_e_s:
  676. TEXT: H
  677. TEXT: H     .SUBCKT OPAMP 1 2 3 4
  678. TEXT: H
  679. TEXT: H
  680. TEXT: H
  681. TEXT: H      A circuit definition is  begun  with  a  .SUBCKT  line.
  682. TEXT: H SUBNAM  is  the  subcircuit  name,  and  N1, N2, ... are the
  683. TEXT: H external nodes, which cannot be zero.  The group of  element
  684. TEXT: H lines  which  immediately follow the .SUBCKT line define the
  685. TEXT: H subcircuit.  The last line in a subcircuit definition is the
  686. TEXT: H .ENDS line (see below).  Control lines may not appear within
  687. TEXT: H a subcircuit definition;   however,  subcircuit  definitions
  688. TEXT: H may contain anything else, including other subcircuit defin-
  689. TEXT: H itions, device models, and  subcircuit  calls  (see  below).
  690. TEXT: H Note  that  any  device  models  or  subcircuit  definitions
  691. TEXT: H included as part of a  subcircuit  definition  are  strictly
  692. TEXT: H local  (i.e., such models and definitions are not known out-
  693. TEXT: H side the subcircuit definition).  Also,  any  element  nodes
  694. TEXT: H not  included  on  the .SUBCKT line are strictly local, with
  695. TEXT: H the exception of 0 (ground) which is always global.
  696. TEXT: H
  697. TEXT: H
  698.  
  699. SUBJECT: .ENDS Line
  700. TITLE: .ENDS Line
  701. TEXT: H
  702. TEXT: H _2._4._2.  ._E_N_D_S _L_i_n_e
  703. TEXT: H
  704. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  705. TEXT: H
  706. TEXT: H     .ENDS <SUBNAM>
  707. TEXT: H
  708. TEXT: H
  709. TEXT: H _E_x_a_m_p_l_e_s:
  710. TEXT: H
  711. TEXT: H     .ENDS OPAMP
  712. TEXT: H
  713. TEXT: H
  714. TEXT: H      The "Ends" line must be the last one for  any  sub-
  715. TEXT: H circuit  definition.   The subcircuit name, if included,
  716. TEXT: H indicates which subcircuit definition is being terminat-
  717. TEXT: H ed;   if omitted, all subcircuits being defined are ter-
  718. TEXT: H minated.  The name is needed only when nested subcircuit
  719. TEXT: H definitions are being made.
  720. TEXT: H
  721. TEXT: H
  722. TEXT: H
  723.  
  724. SUBJECT: Subcircuit Calls
  725. TITLE: Subcircuit Calls
  726. TEXT: H
  727. TEXT: H _2._4._3.  _S_u_b_c_i_r_c_u_i_t _C_a_l_l_s
  728. TEXT: H
  729. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  730. TEXT: H
  731. TEXT: H     XYYYYYYY N1 <N2 N3 ...> SUBNAM
  732. TEXT: H
  733. TEXT: H
  734. TEXT: H _E_x_a_m_p_l_e_s:
  735. TEXT: H
  736. TEXT: H     X1 2 4 17 3 1 MULTI
  737. TEXT: H
  738. TEXT: H
  739. TEXT: H      Subcircuits  are  used  in  SPICE   by   specifying
  740. TEXT: H pseudo-elements beginning with the letter X, followed by
  741. TEXT: H the circuit nodes to be used in  expanding  the  subcir-
  742. TEXT: H cuit.
  743. TEXT: H
  744. TEXT: H
  745.  
  746. SUBJECT: COMBINING FILES
  747. TITLE: COMBINING FILES: .INCLUDE LINES
  748. TEXT: H
  749. TEXT: H _2._5.  _C_O_M_B_I_N_I_N_G _F_I_L_E_S: ._I_N_C_L_U_D_E _L_I_N_E_S
  750. TEXT: H
  751. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  752. TEXT: H
  753. TEXT: H     .INCLUDE _f_i_l_e_n_a_m_e
  754. TEXT: H
  755. TEXT: H
  756. TEXT: H _E_x_a_m_p_l_e_s:
  757. TEXT: H
  758. TEXT: H     .INCLUDE /users/spice/common/wattmeter.cir
  759. TEXT: H
  760. TEXT: H
  761. TEXT: H      Frequently, portions of circuit  descriptions  will  be
  762. TEXT: H reused  in  several  input  files,  particularly with common
  763. TEXT: H models and  subcircuits.   In  any  spice  input  file,  the
  764. TEXT: H ".include"  line  may  be used to copy some other file as if
  765. TEXT: H that second file appeared in place of the ".include" line in
  766. TEXT: H the original file.  There is no restriction on the file name
  767. TEXT: H imposed by spice beyond those imposed by the local operating
  768. TEXT: H system.
  769.  
  770. SUBJECT: CIRCUIT ELEMENTS AND MODELS
  771. TITLE: CIRCUIT ELEMENTS AND MODELS
  772. TEXT: H
  773. TEXT: H _3.  _C_I_R_C_U_I_T _E_L_E_M_E_N_T_S _A_N_D _M_O_D_E_L_S
  774. TEXT: H
  775. TEXT: H
  776. TEXT: H      Data  fields  that  are  enclosed  in   less-than   and
  777. TEXT: H greater-than  signs  ('<  >')  are  optional.  All indicated
  778. TEXT: H punctuation (parentheses, equal signs, etc.) is optional but
  779. TEXT: H indicate  the  presence  of  any delimiter.  Further, future
  780. TEXT: H implementations may require the punctuation  as  stated.   A
  781. TEXT: H consistent  style  adhering  to  the  punctuation shown here
  782. TEXT: H makes the input  easier  to  understand.   With  respect  to
  783. TEXT: H branch voltages and currents, SPICE uniformly uses the asso-
  784. TEXT: H ciated reference convention (current flows in the  direction
  785. TEXT: H of voltage drop).
  786. SUBTOPIC: SPICE:ELEMENTARY DEVICES
  787. SUBTOPIC: SPICE:VOLTAGE AND CURRENT SOURCES
  788. SUBTOPIC: SPICE:TRANSMISSION LINES
  789. SUBTOPIC: SPICE:TRANSISTORS AND DIODES
  790.  
  791. SUBJECT: ELEMENTARY DEVICES
  792. TITLE: ELEMENTARY DEVICES
  793. TEXT: H
  794. TEXT: H _3._1.  _E_L_E_M_E_N_T_A_R_Y _D_E_V_I_C_E_S
  795. TEXT: H
  796. SUBTOPIC: SPICE:Resistors
  797. SUBTOPIC: SPICE:Semiconductor Resistors
  798. SUBTOPIC: SPICE:Semiconductor Resistor Model 
  799. SUBTOPIC: SPICE:Capacitors
  800. SUBTOPIC: SPICE:Semiconductor Capacitors
  801. SUBTOPIC: SPICE:Semiconductor Capacitor Model 
  802. SUBTOPIC: SPICE:Inductors
  803. SUBTOPIC: SPICE:Coupled Inductors
  804. SUBTOPIC: SPICE:Switches
  805. SUBTOPIC: SPICE:Switch Model 
  806.  
  807. SUBJECT: Resistors
  808. TITLE: Resistors
  809. TEXT: H
  810. TEXT: H _3._1._1.  _R_e_s_i_s_t_o_r_s
  811. TEXT: H
  812. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  813. TEXT: H
  814. TEXT: H     RXXXXXXX N1 N2 VALUE
  815. TEXT: H
  816. TEXT: H
  817. TEXT: H _E_x_a_m_p_l_e_s:
  818. TEXT: H
  819. TEXT: H     R1 1 2 100
  820. TEXT: H     RC1 12 17 1K
  821. TEXT: H
  822. TEXT: H
  823. TEXT: H      N1 and N2 are the two  element  nodes.   VALUE  is  the
  824. TEXT: H resistance (in ohms) and may be positive or negative but not
  825. TEXT: H zero.
  826. TEXT: H
  827. TEXT: H
  828.  
  829. SUBJECT: Semiconductor Resistors
  830. TITLE: Semiconductor Resistors
  831. TEXT: H
  832. TEXT: H _3._1._2.  _S_e_m_i_c_o_n_d_u_c_t_o_r _R_e_s_i_s_t_o_r_s
  833. TEXT: H
  834. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  835. TEXT: H
  836. TEXT: H     RXXXXXXX N1 N2 <VALUE> <MNAME> <L=LENGTH> <W=WIDTH> <TEMP=T>
  837. TEXT: H
  838. TEXT: H
  839. TEXT: H _E_x_a_m_p_l_e_s:
  840. TEXT: H
  841. TEXT: H     RLOAD 2 10 10K
  842. TEXT: H     RMOD 3 7 RMODEL L=10u W=1u
  843. TEXT: H
  844. TEXT: H
  845. TEXT: H
  846. TEXT: H      This is the more general form of the resistor presented
  847. TEXT: H in  section  6.1,  and  allows  the  modeling of temperature
  848. TEXT: H effects and for the calculation  of  the  actual  resistance
  849. TEXT: H value from strictly geometric information and the specifica-
  850. TEXT: H tions of the process.  If VALUE is specified,  it  overrides
  851. TEXT: H the  geometric  information  and defines the resistance.  If
  852. TEXT: H MNAME is specified, then the resistance  may  be  calculated
  853. TEXT: H from  the  process  information  in  the model MNAME and the
  854. TEXT: H given LENGTH and WIDTH.  If VALUE  is  not  specified,  then
  855. TEXT: H MNAME  and LENGTH must be specified.  If WIDTH is not speci-
  856. TEXT: H fied, then it is taken from the default width given  in  the
  857. TEXT: H model.   The  (optional)  TEMP  value  is the temperature at
  858. TEXT: H which this device is to operate, and overrides the  tempera-
  859. TEXT: H ture specification on the .OPTION control line.
  860. TEXT: H
  861. TEXT: H
  862.  
  863. SUBJECT: Semiconductor Resistor Model 
  864. TITLE: Semiconductor Resistor Model (R)
  865. TEXT: H
  866. TEXT: H _3._1._3.  _S_e_m_i_c_o_n_d_u_c_t_o_r _R_e_s_i_s_t_o_r _M_o_d_e_l (_R)
  867. TEXT: H
  868. TEXT: H
  869. TEXT: H      The resistor model consists of  process-related  device
  870. TEXT: H data  that  allow  the  resistance  to  be  calculated  from
  871. TEXT: H geometric information and to be corrected  for  temperature.
  872. TEXT: H The parameters available are:
  873. TEXT: H
  874. TEXT: H name     parameter                           units    default   example
  875. TEXT: H
  876. TEXT: H                                                o
  877. TEXT: H TC1      first order temperature coeff.      Z/ C     0.0       -
  878. TEXT: H                                                o 2
  879. TEXT: H TC2      second order temperature coeff.     Z/ C     0.0       -
  880. TEXT: H RSH      sheet resistance                    Z/[]     -         50
  881. TEXT: H DEFW     default width                       meters   1e-6      2e-6
  882. TEXT: H NARROW   narrowing due to side etching       meters   0.0       1e-7
  883. TEXT: H                                              o
  884. TEXT: H TNOM     parameter measurement temperature    C       27        50
  885. TEXT: H
  886. TEXT: H
  887. TEXT: H
  888. TEXT: H      The sheet resistance is used with the narrowing parame-
  889. TEXT: H ter  and  L  and W from the resistor device to determine the
  890. TEXT: H nominal resistance by the formula
  891. TEXT: H
  892. TEXT: H                              L - NARROW
  893. TEXT: H                      R = RSH ----------
  894. TEXT: H                              W - NARROW
  895. TEXT: H
  896. TEXT: H DEFW is used to supply a default value for W if one  is  not
  897. TEXT: H specified  for the device.  If either RSH or L is not speci-
  898. TEXT: H fied, then the standard default resistance value of 1k Z  is
  899. TEXT: H used.  TNOM is used to override the circuit-wide value given
  900. TEXT: H on the .OPTIONS control line where the  parameters  of  this
  901. TEXT: H model  have been measured at a different temperature.  After
  902. TEXT: H the nominal resistance is calculated,  it  is  adjusted  for
  903. TEXT: H temperature by the formula:
  904. TEXT: H
  905. TEXT: H                                                   2
  906. TEXT: H        R(T) = R(T ) [1 + TC1 (T - T ) + TC2 (T-T ) ]
  907. TEXT: H                  0                 0            0
  908. TEXT: H
  909. TEXT: H
  910. TEXT: H
  911.  
  912. SUBJECT: Capacitors
  913. TITLE: Capacitors
  914. TEXT: H
  915. TEXT: H _3._1._4.  _C_a_p_a_c_i_t_o_r_s
  916. TEXT: H
  917. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  918. TEXT: H
  919. TEXT: H     CXXXXXXX N+ N- VALUE <IC=INCOND>
  920. TEXT: H
  921. TEXT: H
  922. TEXT: H _E_x_a_m_p_l_e_s:
  923. TEXT: H
  924. TEXT: H     CBYP 13 0 1UF
  925. TEXT: H     COSC 17 23 10U IC=3V
  926. TEXT: H
  927. TEXT: H
  928. TEXT: H      N+ and N- are the  positive  and  negative  element
  929. TEXT: H nodes,   respectively.   VALUE  is  the  capacitance  in
  930. TEXT: H Farads.
  931. TEXT: H
  932. TEXT: H
  933. TEXT: H      The (optional) initial condition is the initial  (time-
  934. TEXT: H zero)  value of capacitor voltage (in Volts).  Note that the
  935. TEXT: H initial conditions (if any) apply 'only' if the  UIC  option
  936. TEXT: H is specified on the .TRAN control line.
  937. TEXT: H
  938. TEXT: H
  939.  
  940. SUBJECT: Semiconductor Capacitors
  941. TITLE: Semiconductor Capacitors
  942. TEXT: H
  943. TEXT: H _3._1._5.  _S_e_m_i_c_o_n_d_u_c_t_o_r _C_a_p_a_c_i_t_o_r_s
  944. TEXT: H
  945. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  946. TEXT: H
  947. TEXT: H     CXXXXXXX N1 N2 <VALUE> <MNAME> <L=LENGTH> <W=WIDTH> <IC=VAL>
  948. TEXT: H
  949. TEXT: H
  950. TEXT: H _E_x_a_m_p_l_e_s:
  951. TEXT: H
  952. TEXT: H     CLOAD 2 10 10P
  953. TEXT: H     CMOD 3 7 CMODEL L=10u W=1u
  954. TEXT: H
  955. TEXT: H
  956. TEXT: H
  957. TEXT: H      This  is  the  more  general  form  of  the   Capacitor
  958. TEXT: H presented  in section 6.2, and allows for the calculation of
  959. TEXT: H the actual capacitance value from strictly geometric  infor-
  960. TEXT: H mation  and  the specifications of the process.  If VALUE is
  961. TEXT: H specified, it defines the capacitance.  If MNAME  is  speci-
  962. TEXT: H fied,  then  the  capacitance is calculated from the process
  963. TEXT: H information in the model MNAME  and  the  given  LENGTH  and
  964. TEXT: H WIDTH.   If  VALUE  is  not specified, then MNAME and LENGTH
  965. TEXT: H must be specified.  If WIDTH is not specified,  then  it  is
  966. TEXT: H taken  from  the  default  width given in the model.  Either
  967. TEXT: H VALUE or MNAME, LENGTH, and WIDTH may be specified, but  not
  968. TEXT: H both sets.
  969. TEXT: H
  970. TEXT: H
  971.  
  972. SUBJECT: Semiconductor Capacitor Model 
  973. TITLE: Semiconductor Capacitor Model (C)
  974. TEXT: H
  975. TEXT: H _3._1._6.  _S_e_m_i_c_o_n_d_u_c_t_o_r _C_a_p_a_c_i_t_o_r _M_o_d_e_l (_C)
  976. TEXT: H
  977. TEXT: H
  978. TEXT: H      The capacitor model contains process  information  that
  979. TEXT: H may  be  used  to  compute  the  capacitance  from  strictly
  980. TEXT: H geometric information.
  981. TEXT: H
  982. TEXT: H
  983. TEXT: H
  984. TEXT: H name     parameter                       units       default   example
  985. TEXT: H
  986. TEXT: H                                                  2
  987. TEXT: H CJ       junction bottom capacitance     F/meters    -         5e-5
  988. TEXT: H CJSW     junction sidewall capacitance   F/meters    -         2e-11
  989. TEXT: H DEFW     default device width            meters      1e-6      2e-6
  990. TEXT: H NARROW   narrowing due to side etching   meters      0.0       1e-7
  991. TEXT: H
  992. TEXT: H
  993. TEXT: H
  994. TEXT: H
  995. TEXT: H
  996. TEXT: H      The capacitor has a capacitance computed as
  997. TEXT: H
  998. TEXT: H CAP = CJ (LENGTH - NARROW) (WIDTH - NARROW) + 2 CJSW (LENGTH + WIDTH - 2 NARROW)
  999. TEXT: H
  1000. TEXT: H
  1001.  
  1002. SUBJECT: Inductors
  1003. TITLE: Inductors
  1004. TEXT: H
  1005. TEXT: H _3._1._7.  _I_n_d_u_c_t_o_r_s
  1006. TEXT: H
  1007. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1008. TEXT: H
  1009. TEXT: H     LYYYYYYY N+ N- VALUE <IC=INCOND>
  1010. TEXT: H
  1011. TEXT: H
  1012. TEXT: H _E_x_a_m_p_l_e_s:
  1013. TEXT: H
  1014. TEXT: H     LLINK 42 69 1UH
  1015. TEXT: H     LSHUNT 23 51 10U IC=15.7MA
  1016. TEXT: H
  1017. TEXT: H
  1018. TEXT: H      N+ and N- are the  positive  and  negative  element
  1019. TEXT: H nodes,  respectively.   VALUE  is the inductance in Hen-
  1020. TEXT: H ries.
  1021. TEXT: H
  1022. TEXT: H
  1023. TEXT: H      The (optional) initial condition is the initial  (time-
  1024. TEXT: H zero)  value  of  inductor current (in Amps) that flows from
  1025. TEXT: H N+, through the inductor, to N-.  Note that the initial con-
  1026. TEXT: H ditions  (if  any) apply only if the UIC option is specified
  1027. TEXT: H on the .TRAN analysis line.
  1028. TEXT: H
  1029. TEXT: H
  1030.  
  1031. SUBJECT: Coupled Inductors
  1032. TITLE: Coupled (Mutual) Inductors
  1033. TEXT: H
  1034. TEXT: H _3._1._8.  _C_o_u_p_l_e_d (_M_u_t_u_a_l) _I_n_d_u_c_t_o_r_s
  1035. TEXT: H
  1036. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1037. TEXT: H
  1038. TEXT: H     KXXXXXXX LYYYYYYY LZZZZZZZ VALUE
  1039. TEXT: H
  1040. TEXT: H
  1041. TEXT: H _E_x_a_m_p_l_e_s:
  1042. TEXT: H
  1043. TEXT: H     K43 LAA LBB 0.999
  1044. TEXT: H     KXFRMR L1 L2 0.87
  1045. TEXT: H
  1046. TEXT: H
  1047. TEXT: H      LYYYYYYY and LZZZZZZZ are the names of the two cou-
  1048. TEXT: H pled  inductors,  and  VALUE  is the coefficient of cou-
  1049. TEXT: H pling, K, which must be greater than 0 and less than  or
  1050. TEXT: H equal  to  1.  Using the 'dot' convention, place a 'dot'
  1051. TEXT: H on the first node of each inductor.
  1052. TEXT: H
  1053. TEXT: H
  1054. TEXT: H
  1055.  
  1056. SUBJECT: Switches
  1057. TITLE: Switches
  1058. TEXT: H
  1059. TEXT: H _3._1._9.  _S_w_i_t_c_h_e_s
  1060. TEXT: H
  1061. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1062. TEXT: H
  1063. TEXT: H     SXXXXXXX N+ N- NC+ NC- MODEL <ON><OFF>
  1064. TEXT: H     WYYYYYYY N+ N- VNAM MODEL <ON><OFF>
  1065. TEXT: H
  1066. TEXT: H
  1067. TEXT: H _E_x_a_m_p_l_e_s:
  1068. TEXT: H
  1069. TEXT: H     s1 1 2 3 4 switch1 ON
  1070. TEXT: H     s2 5 6 3 0 sm2 off
  1071. TEXT: H     Switch1 1 2 10 0 smodel1
  1072. TEXT: H     w1 1 2 vclock switchmod1
  1073. TEXT: H     W2 3 0 vramp sm1 ON
  1074. TEXT: H     wreset 5 6 vclck lossyswitch OFF
  1075. TEXT: H
  1076. TEXT: H
  1077. TEXT: H      Nodes 1 and 2  are  the  nodes  between  which  the
  1078. TEXT: H switch  terminals are connected.  The model name is man-
  1079. TEXT: H datory while the initial conditions are  optional.   For
  1080. TEXT: H the voltage controlled switch, nodes 3 and 4 are the po-
  1081. TEXT: H sitive and negative controlling nodes respectively.  For
  1082. TEXT: H the  current  controlled switch, the controlling current
  1083. TEXT: H is that  through  the  specified  voltage  source.   The
  1084. TEXT: H direction  of  positive controlling current flow is from
  1085. TEXT: H the positive node, through the source, to  the  negative
  1086. TEXT: H node.
  1087. TEXT: H
  1088. TEXT: H
  1089. TEXT: H
  1090.  
  1091. SUBJECT: Switch Model 
  1092. TITLE: Switch Model (SW/CSW)
  1093. TEXT: H
  1094. TEXT: H _3._1._1_0.  _S_w_i_t_c_h _M_o_d_e_l (_S_W/_C_S_W)
  1095. TEXT: H
  1096. TEXT: H
  1097. TEXT: H      The switch model allows an almost ideal  switch  to  be
  1098. TEXT: H described  in SPICE.  The switch is not quite ideal, in that
  1099. TEXT: H the resistance can not change from 0 to infinity,  but  must
  1100. TEXT: H always have a finite positive value.  By proper selection of
  1101. TEXT: H the on and off resistances, they can be effectively zero and
  1102. TEXT: H infinity  in  comparison  to  other  circuit  elements.  The
  1103. TEXT: H parameters available are:
  1104. TEXT: H
  1105. TEXT: H     name   parameter            units   default   switch
  1106. TEXT: H
  1107. TEXT: H     VT     threshold voltage    Volts   0.0       S
  1108. TEXT: H     IT     threshold current    Amps    0.0       W
  1109. TEXT: H     VH     hysteresis voltage   Volts   0.0       S
  1110. TEXT: H     IH     hysteresis current   Amps    0.0       W
  1111. TEXT: H     RON    on resistance        Z       1.0       both
  1112. TEXT: H     ROFF   off resistance       Z       1/GMIN*   both
  1113. TEXT: H
  1114. TEXT: H
  1115. TEXT: H
  1116. TEXT: H
  1117. TEXT: H      *(See the .OPTIONS control line for  a  description  of
  1118. TEXT: H GMIN,  its  default  value  results  in an off-resistance of
  1119. TEXT: H 1.0e+12 ohms.)
  1120. TEXT: H
  1121. TEXT: H
  1122. TEXT: H      The use of an ideal element that  is  highly  nonlinear
  1123. TEXT: H such as a switch can cause large discontinuities to occur in
  1124. TEXT: H the circuit node voltages.  A  rapid  change  such  as  that
  1125. TEXT: H associated  with a switch changing state can cause numerical
  1126. TEXT: H roundoff or tolerance problems leading to erroneous  results
  1127. TEXT: H or  timestep difficulties.  The user of switches can improve
  1128. TEXT: H the situation by taking the following steps:
  1129. TEXT: H
  1130. TEXT: H      First, it is wise to set ideal switch  impedances  just
  1131. TEXT: H high  or  low  enough to be negligible with respect to other
  1132. TEXT: H circuit elements.  Using switch impedances that are close to
  1133. TEXT: H "ideal"  in all cases aggravates the problem of discontinui-
  1134. TEXT: H ties mentioned above.  Of course, when modeling real devices
  1135. TEXT: H such  as  MOSFETS, the on resistance should be adjusted to a
  1136. TEXT: H realistic level depending on the size of  the  device  being
  1137. TEXT: H modeled.
  1138. TEXT: H
  1139. TEXT: H      If a wide range of ON to OFF resistance must be used in
  1140. TEXT: H the switches (ROFF/RON >1e+12), then the tolerance on errors
  1141. TEXT: H allowed during transient analysis  should  be  decreased  by
  1142. TEXT: H using  the  .OPTIONS control line and specifying TRTOL to be
  1143. TEXT: H less than the default  value  of  7.0.   When  switches  are
  1144. TEXT: H placed around capacitors, then the option CHGTOL should also
  1145. TEXT: H be reduced.  Suggested values for these two options are  1.0
  1146. TEXT: H and  1e-16  respectively.  These changes inform SPICE3 to be
  1147. TEXT: H more careful around the switch points so that no errors  are
  1148. TEXT: H made due to the rapid change in the circuit.
  1149. TEXT: H
  1150.  
  1151. SUBJECT: VOLTAGE AND CURRENT SOURCES
  1152. TITLE: VOLTAGE AND CURRENT SOURCES
  1153. TEXT: H
  1154. TEXT: H _3._2.  _V_O_L_T_A_G_E _A_N_D _C_U_R_R_E_N_T _S_O_U_R_C_E_S
  1155. TEXT: H
  1156. SUBTOPIC: SPICE:Independent Sources
  1157. SUBTOPIC: SPICE:Linear Dependent Sources
  1158. SUBTOPIC: SPICE:Nonlinear Dependent Sources
  1159.  
  1160. SUBJECT: Independent Sources
  1161. TITLE: Independent Sources
  1162. TEXT: H
  1163. TEXT: H _3._2._1.  _I_n_d_e_p_e_n_d_e_n_t _S_o_u_r_c_e_s
  1164. TEXT: H
  1165. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1166. TEXT: H
  1167. TEXT: H     VXXXXXXX N+ N- <<DC> DC/TRAN VALUE> <AC <ACMAG <ACPHASE>>>
  1168. TEXT: H     +       <DISTOF1 <F1MAG <F1PHASE>>> <DISTOF2 <F2MAG <F2PHASE>>>
  1169. TEXT: H     IYYYYYYY N+ N- <<DC> DC/TRAN VALUE> <AC <ACMAG <ACPHASE>>>
  1170. TEXT: H     +       <DISTOF1 <F1MAG <F1PHASE>>> <DISTOF2 <F2MAG <F2PHASE>>>
  1171. TEXT: H
  1172. TEXT: H
  1173. TEXT: H _E_x_a_m_p_l_e_s:
  1174. TEXT: H
  1175. TEXT: H     VCC 10 0 DC 6
  1176. TEXT: H     VIN 13 2 0.001 AC 1 SIN(0 1 1MEG)
  1177. TEXT: H     ISRC 23 21 AC 0.333 45.0 SFFM(0 1 10K 5 1K)
  1178. TEXT: H     VMEAS 12 9
  1179. TEXT: H     VCARRIER 1 0 DISTOF1 0.1 -90.0
  1180. TEXT: H     VMODULATOR 2 0 DISTOF2 0.01
  1181. TEXT: H     IIN1 1 5 AC 1 DISTOF1 DISTOF2 0.001
  1182. TEXT: H
  1183. TEXT: H
  1184. TEXT: H      N+ and N- are the positive and negative nodes,  respec-
  1185. TEXT: H tively.   Note  that  voltage  sources need not be grounded.
  1186. TEXT: H Positive current is assumed to flow from the positive  node,
  1187. TEXT: H through  the source, to the negative node.  A current source
  1188. TEXT: H of positive value forces current to flow out of the N+ node,
  1189. TEXT: H through  the source, and into the N- node.  Voltage sources,
  1190. TEXT: H in addition to being used for circuit  excitation,  are  the
  1191. TEXT: H 'ammeters'  for  SPICE, that is, zero valued voltage sources
  1192. TEXT: H may be inserted into the circuit for the purpose of  measur-
  1193. TEXT: H ing  current.   They  of  course  have  no effect on circuit
  1194. TEXT: H operation since they represent short-circuits.
  1195. TEXT: H
  1196. TEXT: H
  1197. TEXT: H      DC/TRAN is the dc and transient analysis value  of  the
  1198. TEXT: H source.   If  the source value is zero both for dc and tran-
  1199. TEXT: H sient analyses, this value may be omitted.   If  the  source
  1200. TEXT: H value  is  time-invariant  (e.g.,  a power supply), then the
  1201. TEXT: H value may optionally be preceded by the letters DC.
  1202. TEXT: H
  1203. TEXT: H
  1204. TEXT: H      ACMAG is the ac magnitude and ACPHASE is the ac  phase.
  1205. TEXT: H The  source  is  set  to  this value in the ac analysis.  If
  1206. TEXT: H ACMAG is omitted following the keyword AC, a value of  unity
  1207. TEXT: H is  assumed.   If  ACPHASE  is  omitted,  a value of zero is
  1208. TEXT: H assumed.  If the source is not an ac small-signal input, the
  1209. TEXT: H keyword AC and the ac values are omitted.
  1210. TEXT: H
  1211. TEXT: H
  1212. TEXT: H      DISTOF1 and DISTOF2 are the keywords that specify  that
  1213. TEXT: H the independent source has distortion inputs at the frequen-
  1214. TEXT: H cies F1 and F2 respectively  (see  the  description  of  the
  1215. TEXT: H .DISTO  control  line).   The keywords may be followed by an
  1216. TEXT: H optional magnitude and phase.  The  default  values  of  the
  1217. TEXT: H magnitude and phase are 1.0 and 0.0 respectively.
  1218. TEXT: H
  1219. TEXT: H
  1220. TEXT: H      Any independent source can be assigned a time-dependent
  1221. TEXT: H value  for  transient  analysis.   If a source is assigned a
  1222. TEXT: H time-dependent value, the time-zero value  is  used  for  dc
  1223. TEXT: H analysis.   There  are  five  independent  source functions:
  1224. TEXT: H pulse,  exponential,  sinusoidal,  piece-wise  linear,   and
  1225. TEXT: H single-frequency FM.  If parameters other than source values
  1226. TEXT: H are omitted or set to zero, the  default  values  shown  are
  1227. TEXT: H assumed.   (TSTEP is the printing increment and TSTOP is the
  1228. TEXT: H final time (see the .TRAN control line for explanation)).
  1229. TEXT: H
  1230. TEXT: H
  1231. SUBTOPIC: SPICE:Pulse
  1232. SUBTOPIC: SPICE:Sinusoidal
  1233. SUBTOPIC: SPICE:Exponential
  1234. SUBTOPIC: SPICE:PieceWise Linear
  1235. SUBTOPIC: SPICE:SingleFrequency FM
  1236.  
  1237. SUBJECT: Pulse
  1238. TITLE: Pulse
  1239. TEXT: H
  1240. TEXT: H _3._2._1._1.  _P_u_l_s_e
  1241. TEXT: H
  1242. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1243. TEXT: H
  1244. TEXT: H     PULSE(V1 V2 TD TR TF PW PER)
  1245. TEXT: H
  1246. TEXT: H
  1247. TEXT: H _E_x_a_m_p_l_e_s:
  1248. TEXT: H
  1249. TEXT: H     VIN 3 0 PULSE(-1 1 2NS 2NS 2NS 50NS 100NS)
  1250. TEXT: H
  1251. TEXT: H
  1252. TEXT: H
  1253. TEXT: H      parameter               default value         units
  1254. TEXT: H      -----------------------------------------------------
  1255. TEXT: H      V1 (initial value)                      Volts or Amps
  1256. TEXT: H      V2 (pulsed value)                       Volts or Amps
  1257. TEXT: H      TD (delay time)         0.0             seconds
  1258. TEXT: H      TR (rise time)          TSTEP           seconds
  1259. TEXT: H      TF (fall time)          TSTEP           seconds
  1260. TEXT: H      PW (pulse width)        TSTOP           seconds
  1261. TEXT: H      PER(period)             TSTOP           seconds
  1262. TEXT: H
  1263. TEXT: H
  1264. TEXT: H
  1265. TEXT: H
  1266. TEXT: H
  1267. TEXT: H      A single pulse so specified is described by the follow-
  1268. TEXT: H ing table:
  1269. TEXT: H
  1270. TEXT: H
  1271. TEXT: H
  1272. TEXT: H      time          value
  1273. TEXT: H      -------------------
  1274. TEXT: H      0             V1
  1275. TEXT: H      TD            V1
  1276. TEXT: H      TD+TR         V2
  1277. TEXT: H      TD+TR+PW      V2
  1278. TEXT: H      TD+TR+PW+TF   V1
  1279. TEXT: H      TSTOP         V1
  1280. TEXT: H
  1281. TEXT: H
  1282. TEXT: H
  1283. TEXT: H
  1284. TEXT: H      Intermediate points are determined by linear interpola-
  1285. TEXT: H tion.
  1286. TEXT: H
  1287. TEXT: H
  1288.  
  1289. SUBJECT: Sinusoidal
  1290. TITLE: Sinusoidal
  1291. TEXT: H
  1292. TEXT: H _3._2._1._2.  _S_i_n_u_s_o_i_d_a_l
  1293. TEXT: H
  1294. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1295. TEXT: H
  1296. TEXT: H     SIN(VO VA FREQ TD THETA)
  1297. TEXT: H
  1298. TEXT: H
  1299. TEXT: H _E_x_a_m_p_l_e_s:
  1300. TEXT: H
  1301. TEXT: H     VIN 3 0 SIN(0 1 100MEG 1NS 1E10)
  1302. TEXT: H
  1303. TEXT: H
  1304. TEXT: H
  1305. TEXT: H
  1306. TEXT: H
  1307. TEXT: H
  1308. TEXT: H      parameters                default value   units
  1309. TEXT: H      -------------------------------------------------------
  1310. TEXT: H      VO     (offset)                           Volts or Amps
  1311. TEXT: H      VA     (amplitude)                        Volts or Amps
  1312. TEXT: H      FREQ   (frequency)        1/TSTOP         Hz
  1313. TEXT: H      TD     (delay)            0.0             seconds
  1314. TEXT: H      THETA  (damping factor)   0.0             1/seconds
  1315. TEXT: H
  1316. TEXT: H
  1317. TEXT: H
  1318. TEXT: H
  1319. TEXT: H
  1320. TEXT: H      The shape of the waveform is described by the following
  1321. TEXT: H table:
  1322. TEXT: H
  1323. TEXT: H
  1324. TEXT: H      time          value
  1325. TEXT: H      ------------------------------------------------------------
  1326. TEXT: H      0 to TD       VO
  1327. TEXT: H                             -(t - TD)THETA
  1328. TEXT: H      TD to TSTOP   VO + VA e               sin(2 J FREQ (t + TD))
  1329. TEXT: H
  1330. TEXT: H
  1331. TEXT: H
  1332. TEXT: H
  1333. TEXT: H
  1334.  
  1335. SUBJECT: Exponential
  1336. TITLE: Exponential
  1337. TEXT: H
  1338. TEXT: H _3._2._1._3.  _E_x_p_o_n_e_n_t_i_a_l
  1339. TEXT: H
  1340. TEXT: H _G_e_n_e_r_a_l _F_o_r_m:
  1341. TEXT: H
  1342. TEXT: H     EXP(V1 V2 TD1 TAU1 TD2 TAU2)
  1343. TEXT: H
  1344. TEXT: H
  1345. TEXT: H _E_x_a_m_p_l_e_s:
  1346. TEXT: H
  1347. TEXT: H     VIN 3 0 EXP(-4 -1 2NS 30NS 60NS 40NS)
  1348. TEXT: H
  1349. TEXT: H
  1350. TEXT: H
  1351. TEXT: H
  1352. TEXT: H
  1353. TEXT: H      parameter                   default value   units
  1354. TEXT: H      ---------------------------------------------------------
  1355. TEXT: H      V1   (initial value)                        Volts or Amps
  1356. TEXT: H      V2   (pulsed value)                         Volts or Amps
  1357. TEXT: H      TD1  (rise delay time)      0.0             seconds
  1358. TEXT: H      TAU1 (rise time constant)   TSTEP           seconds
  1359. TEXT: H      TD2  (fall delay time)      TD1+TSTEP       seconds
  1360. TEXT: H      TAU2 (fall time constant)   TSTEP           seconds
  1361. TEXT: H
  1362. TEXT: H
  1363. TEXT: H
  1364. TEXT: H
  1365. TEXT: H
  1366. TEXT: H      The shape of the waveform is described by the following
  1367. TEXT: H table:
  1368. TEXT: H
  1369. TEXT: H
  1370. TEXT: H
  1371. TEXT: H      time           value
  1372. TEXT: H      ----------------------------------------------------------------------------
  1373. TEXT: H       0 to TD1      V1
  1374. TEXT: H                                    |     ------------|
  1375. TEXT: H                                              TAU1
  1376. TEXT: H                                    |    -(t - TD1)   |                -(t - TD2)
  1377. TEXT: H      TD1 to TD2     V1 + (V2 - V1)  1 - e
  1378. TEXT: H                                    |    ----------|             |     ----------|
  1379. TEXT: H                                    |       TAU1   |             |        TAU2   |
  1380. TEXT: H      TD2 to TSTOP   V1 + (V2 - V1)   - e            + (V1 - V2)  1 - e
  1381. TEXT: H
  1382. TEXT: H
  1383. TEXT: H
  1384. TEXT: H
  1385. TEXT: H
  1386.  
  1387. SUBJECT: PieceWise Linear
  1388. TITLE: Piece-Wise Linear
  1389. TEXT: H
  1390. TEXT: H _3._2._1._4.  _P_i_e_c_e-_W_i_s_e _L_i_n_e_a_r
  1391. TEXT: H
  1392. TEXT: H _G_e_n_e_r_a_l _F_o_r_m:
  1393. TEXT: H
  1394. TEXT: H     PWL(T1 V1 <T2 V2 T3 V3 T4 V4 ...>)
  1395. TEXT: H
  1396. TEXT: H
  1397. TEXT: H _E_x_a_m_p_l_e_s:
  1398. TEXT: H
  1399. TEXT: H     VCLOCK 7 5 PWL(0 -7 10NS -7 11NS -3 17NS -3 18NS -7 50NS -7)
  1400. TEXT: H
  1401. TEXT: H
  1402. TEXT: H
  1403. TEXT: H
  1404. TEXT: H      Each pair of values (Ti, Vi) specifies that  the  value
  1405. TEXT: H of  the  source  is  Vi  (in Volts or Amps) at time=Ti.  The
  1406. TEXT: H value of the source at intermediate values of time is deter-
  1407. TEXT: H mined by using linear interpolation on the input values.
  1408. TEXT: H
  1409. TEXT: H
  1410.  
  1411. SUBJECT: SingleFrequency FM
  1412. TITLE: Single-Frequency FM
  1413. TEXT: H
  1414. TEXT: H _3._2._1._5.  _S_i_n_g_l_e-_F_r_e_q_u_e_n_c_y _F_M
  1415. TEXT: H
  1416. TEXT: H _G_e_n_e_r_a_l _F_o_r_m:
  1417. TEXT: H
  1418. TEXT: H     SFFM(VO VA FC MDI FS)
  1419. TEXT: H
  1420. TEXT: H
  1421. TEXT: H _E_x_a_m_p_l_e_s:
  1422. TEXT: H
  1423. TEXT: H     V1 12 0 SFFM(0 1M 20K 5 1K)
  1424. TEXT: H
  1425. TEXT: H
  1426. TEXT: H
  1427. TEXT: H
  1428. TEXT: H
  1429. TEXT: H
  1430. TEXT: H      parameter                 default value   units
  1431. TEXT: H      -------------------------------------------------------
  1432. TEXT: H      VO  (offset)                              Volts or Amps
  1433. TEXT: H      VA  (amplitude)                           Volts or Amps
  1434. TEXT: H      FC  (carrier frequency)   1/TSTOP         Hz
  1435. TEXT: H      MDI (modulation index)
  1436. TEXT: H      FS  (signal frequency)    1/TSTOP         Hz
  1437. TEXT: H
  1438. TEXT: H
  1439. TEXT: H
  1440. TEXT: H
  1441. TEXT: H The shape of the waveform  is  described  by  the  following
  1442. TEXT: H equation:
  1443. TEXT: H
  1444. TEXT: H
  1445. TEXT: H                        |                            |
  1446. TEXT: H        V(t)=V  + V  sin 2 J FC t + MDI sin(2 J FS t)
  1447. TEXT: H              O    A    |                            |
  1448. TEXT: H
  1449. TEXT: H
  1450. TEXT: H
  1451. TEXT: H
  1452. TEXT: H
  1453.  
  1454. SUBJECT: Linear Dependent Sources
  1455. TITLE: Linear Dependent Sources
  1456. TEXT: H
  1457. TEXT: H _3._2._2.  _L_i_n_e_a_r _D_e_p_e_n_d_e_n_t _S_o_u_r_c_e_s
  1458. TEXT: H
  1459. TEXT: H
  1460. TEXT: H      SPICE  allows  circuits  to  contain  linear  dependent
  1461. TEXT: H sources characterized by any of the four equations
  1462. TEXT: H
  1463. TEXT: H         i = g v          v = e v          i = f i          v
  1464. TEXT: H = h i
  1465. TEXT: H
  1466. TEXT: H where g, e, f, and h are constants representing transconduc-
  1467. TEXT: H tance,  voltage  gain,  current  gain,  and transresistance,
  1468. TEXT: H respectively.
  1469. TEXT: H
  1470. TEXT: H
  1471. TEXT: H
  1472. SUBTOPIC: SPICE:Linear VoltageControlled Current Sources
  1473. SUBTOPIC: SPICE:Linear VoltageControlled Voltage Sources
  1474. SUBTOPIC: SPICE:Linear CurrentControlled Current Sources
  1475. SUBTOPIC: SPICE:Linear CurrentControlled Voltage Sources
  1476.  
  1477. SUBJECT: Linear VoltageControlled Current Sources
  1478. TITLE: Linear Voltage-Controlled Current Sources
  1479. TEXT: H
  1480. TEXT: H _3._2._2._1.  _L_i_n_e_a_r _V_o_l_t_a_g_e-_C_o_n_t_r_o_l_l_e_d _C_u_r_r_e_n_t _S_o_u_r_c_e_s
  1481. TEXT: H
  1482. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1483. TEXT: H
  1484. TEXT: H     GXXXXXXX N+ N- NC+ NC- VALUE
  1485. TEXT: H
  1486. TEXT: H
  1487. TEXT: H _E_x_a_m_p_l_e_s:
  1488. TEXT: H
  1489. TEXT: H     G1 2 0 5 0 0.1MMHO
  1490. TEXT: H
  1491. TEXT: H
  1492. TEXT: H      N+ and N- are  the  positive  and  negative  nodes,
  1493. TEXT: H respectively.   Current  flow is from the positive node,
  1494. TEXT: H through the source, to the negative node.  NC+  and  NC-
  1495. TEXT: H are the positive and negative controlling nodes, respec-
  1496. TEXT: H tively.  VALUE is the transconductance (in mhos).
  1497. TEXT: H
  1498. TEXT: H
  1499. TEXT: H
  1500.  
  1501. SUBJECT: Linear VoltageControlled Voltage Sources
  1502. TITLE: Linear Voltage-Controlled Voltage Sources
  1503. TEXT: H
  1504. TEXT: H _3._2._2._2.  _L_i_n_e_a_r _V_o_l_t_a_g_e-_C_o_n_t_r_o_l_l_e_d _V_o_l_t_a_g_e _S_o_u_r_c_e_s
  1505. TEXT: H
  1506. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1507. TEXT: H
  1508. TEXT: H     EXXXXXXX N+ N- NC+ NC- VALUE
  1509. TEXT: H
  1510. TEXT: H
  1511. TEXT: H _E_x_a_m_p_l_e_s:
  1512. TEXT: H
  1513. TEXT: H     E1 2 3 14 1 2.0
  1514. TEXT: H
  1515. TEXT: H
  1516. TEXT: H      N+ is the positive node, and  N-  is  the  negative
  1517. TEXT: H node.   NC+  and  NC- are the positive and negative con-
  1518. TEXT: H trolling nodes,  respectively.   VALUE  is  the  voltage
  1519. TEXT: H gain.
  1520. TEXT: H
  1521. TEXT: H
  1522. TEXT: H
  1523.  
  1524. SUBJECT: Linear CurrentControlled Current Sources
  1525. TITLE: Linear Current-Controlled Current Sources
  1526. TEXT: H
  1527. TEXT: H _3._2._2._3.  _L_i_n_e_a_r _C_u_r_r_e_n_t-_C_o_n_t_r_o_l_l_e_d _C_u_r_r_e_n_t _S_o_u_r_c_e_s
  1528. TEXT: H
  1529. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1530. TEXT: H
  1531. TEXT: H     FXXXXXXX N+ N- VNAM VALUE
  1532. TEXT: H
  1533. TEXT: H
  1534. TEXT: H _E_x_a_m_p_l_e_s:
  1535. TEXT: H
  1536. TEXT: H     F1 13 5 VSENS 5
  1537. TEXT: H
  1538. TEXT: H
  1539. TEXT: H      N+ and N- are  the  positive  and  negative  nodes,
  1540. TEXT: H respectively.   Current  flow is from the positive node,
  1541. TEXT: H through the source, to the negative node.  VNAM  is  the
  1542. TEXT: H name  of  a voltage source through which the controlling
  1543. TEXT: H current flows.  The direction  of  positive  controlling
  1544. TEXT: H current  flow  is  from  the  positive node, through the
  1545. TEXT: H source, to the negative node  of  VNAM.   VALUE  is  the
  1546. TEXT: H current gain.
  1547. TEXT: H
  1548. TEXT: H
  1549. TEXT: H
  1550.  
  1551. SUBJECT: Linear CurrentControlled Voltage Sources
  1552. TITLE: Linear Current-Controlled Voltage Sources
  1553. TEXT: H
  1554. TEXT: H _3._2._2._4.  _L_i_n_e_a_r _C_u_r_r_e_n_t-_C_o_n_t_r_o_l_l_e_d _V_o_l_t_a_g_e _S_o_u_r_c_e_s
  1555. TEXT: H
  1556. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1557. TEXT: H
  1558. TEXT: H     HXXXXXXX N+ N- VNAM VALUE
  1559. TEXT: H
  1560. TEXT: H
  1561. TEXT: H _E_x_a_m_p_l_e_s:
  1562. TEXT: H
  1563. TEXT: H     HX 5 17 VZ 0.5K
  1564. TEXT: H
  1565. TEXT: H
  1566. TEXT: H      N+ and N- are  the  positive  and  negative  nodes,
  1567. TEXT: H respectively.   VNAM  is  the  name  of a voltage source
  1568. TEXT: H through which the controlling current flows.  The direc-
  1569. TEXT: H tion  of  positive  controlling current flow is from the
  1570. TEXT: H positive node, through the source, to the negative  node
  1571. TEXT: H of VNAM.  VALUE is the transresistance (in ohms).
  1572. TEXT: H
  1573. TEXT: H
  1574. TEXT: H
  1575.  
  1576. SUBJECT: Nonlinear Dependent Sources
  1577. TITLE: Non-linear Dependent Sources
  1578. TEXT: H
  1579. TEXT: H _3._2._3.  _N_o_n-_l_i_n_e_a_r _D_e_p_e_n_d_e_n_t _S_o_u_r_c_e_s
  1580. TEXT: H
  1581. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1582. TEXT: H
  1583. TEXT: H     BXXXXXXX N+ N- <I=EXPR> <V=EXPR>
  1584. TEXT: H
  1585. TEXT: H
  1586. TEXT: H _E_x_a_m_p_l_e_s:
  1587. TEXT: H
  1588. TEXT: H     B1 0 1 I=cos(v(1))+sin(v(2))
  1589. TEXT: H     B1 0 1 V=ln(cos(log(v(1,2)^2)))-v(3)^4+v(2)^v(1)
  1590. TEXT: H     B1 3 4 I=17
  1591. TEXT: H     B1 3 4 V=exp(pi^i(vdd))
  1592. TEXT: H
  1593. TEXT: H
  1594. TEXT: H
  1595. TEXT: H      _N+ is the positive node, and _N- is the  negative  node.
  1596. TEXT: H The  values of the V and I parameters determine the voltages
  1597. TEXT: H and currents across and through  the  device,  respectively.
  1598. TEXT: H If  I is given then the device is a current source, and if V
  1599. TEXT: H is given the device is a voltage source.  One and  only  one
  1600. TEXT: H of these parameters must be given.
  1601. TEXT: H
  1602. TEXT: H      The small-signal AC behavior of the nonlinear source is
  1603. TEXT: H a  linear dependent source (or sources) with a proportional-
  1604. TEXT: H ity constant equal to the derivative (or derivatives) of the
  1605. TEXT: H source at the DC operating point.
  1606. TEXT: H
  1607. TEXT: H
  1608. TEXT: H      The expressions given for V and I may be  any  function
  1609. TEXT: H of voltages and currents through voltage sources in the sys-
  1610. TEXT: H tem.  The following functions of real variables are defined:
  1611. TEXT: H
  1612. TEXT: H                 abs     asinh   cosh   sin
  1613. TEXT: H                 acos    atan    exp    sinh
  1614. TEXT: H                 acosh   atanh   ln     sqrt
  1615. TEXT: H                 asin    cos     log    tan
  1616. TEXT: H
  1617. TEXT: H
  1618. TEXT: H
  1619. TEXT: H      The function "u" is the  unit  step  function,  with  a
  1620. TEXT: H value  of  one for arguments greater than one and a value of
  1621. TEXT: H zero for arguments less than zero.  The function "uramp"  is
  1622. TEXT: H the  integral of the unit step: for an input _x, the value is
  1623. TEXT: H zero if _x is less than zero, or if _x is  greater  than  zero
  1624. TEXT: H the value is _x.  These two functions are useful in sythesiz-
  1625. TEXT: H ing piece-wise non-linear functions, though convergence  may
  1626. TEXT: H be adversely affected.
  1627. TEXT: H
  1628. TEXT: H
  1629. TEXT: H      The following standard operators are defined:
  1630. TEXT: H
  1631. TEXT: H      +       -       *       /       ^       unary -
  1632. TEXT: H
  1633. TEXT: H
  1634. TEXT: H      If the argument of log, ln, or sqrt becomes  less  than
  1635. TEXT: H zero,  the  absolute  value  of  the argument is used.  If a
  1636. TEXT: H divisor becomes zero or the argument of log  or  ln  becomes
  1637. TEXT: H zero,  an  error will result.  Other problems may occur when
  1638. TEXT: H the argument for a function in a partial derivative enters a
  1639. TEXT: H region where that function is undefined.
  1640. TEXT: H
  1641. TEXT: H
  1642. TEXT: H      To get time into the expression you can  integrate  the
  1643. TEXT: H current  from a constant current source with a capacitor and
  1644. TEXT: H use the resulting voltage (don't forget to set  the  initial
  1645. TEXT: H voltage  across the capacitor).  Non-linear resistors, capa-
  1646. TEXT: H citors, and inductors may be synthesized with the  nonlinear
  1647. TEXT: H dependent  source.   Non-linear resistors are obvious.  Non-
  1648. TEXT: H linear capacitors and inductors are implemented  with  their
  1649. TEXT: H linear  counterparts  by  a  change of variables implemented
  1650. TEXT: H with the nonlinear dependent source.  The following  subcir-
  1651. TEXT: H cuit will implement a nonlinear capacitor:
  1652. TEXT: H
  1653. TEXT: H     .Subckt nlcap   pos neg
  1654. TEXT: H     * Bx: calculate f(input voltage)
  1655. TEXT: H     Bx   1    0    v = f(v(pos,neg))
  1656. TEXT: H     * Cx: linear capacitance
  1657. TEXT: H     Cx   2    0    1
  1658. TEXT: H     * Vx: Ammeter to measure current into the capacitor
  1659. TEXT: H     Vx   2    1    DC 0Volts
  1660. TEXT: H     * Drive the current through Cx back into the circuit
  1661. TEXT: H     Fx   pos  neg  Vx 1
  1662. TEXT: H     .ends
  1663. TEXT: H
  1664. TEXT: H
  1665. TEXT: H Non-linear inductors are similar.
  1666. TEXT: H
  1667. TEXT: H
  1668.  
  1669. SUBJECT: TRANSMISSION LINES
  1670. TITLE: TRANSMISSION LINES
  1671. TEXT: H
  1672. TEXT: H _3._3.  _T_R_A_N_S_M_I_S_S_I_O_N _L_I_N_E_S
  1673. TEXT: H
  1674. SUBTOPIC: SPICE:Lossless Transmission Lines
  1675. SUBTOPIC: SPICE:Lossy Transmission Lines
  1676. SUBTOPIC: SPICE:Lossy Transmission Line Model 
  1677. SUBTOPIC: SPICE:Uniform Distributed RC Lines 
  1678. SUBTOPIC: SPICE:Uniform Distributed RC Model 
  1679.  
  1680. SUBJECT: Lossless Transmission Lines
  1681. TITLE: Lossless Transmission Lines
  1682. TEXT: H
  1683. TEXT: H _3._3._1.  _L_o_s_s_l_e_s_s _T_r_a_n_s_m_i_s_s_i_o_n _L_i_n_e_s
  1684. TEXT: H
  1685. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1686. TEXT: H
  1687. TEXT: H     TXXXXXXX N1 N2 N3 N4 Z0=VALUE <TD=VALUE> <F=FREQ <NL=NRMLEN>>
  1688. TEXT: H     +                    <IC=V1, I1, V2, I2>
  1689. TEXT: H
  1690. TEXT: H
  1691. TEXT: H _E_x_a_m_p_l_e_s:
  1692. TEXT: H
  1693. TEXT: H     T1 1 0 2 0 Z0=50 TD=10NS
  1694. TEXT: H
  1695. TEXT: H
  1696. TEXT: H      N1 and N2 are the nodes at port 1;  N3 and N4  are  the
  1697. TEXT: H nodes  at  port 2.  Z0 is the characteristic impedance.  The
  1698. TEXT: H length of the line may be expressed in either of two  forms.
  1699. TEXT: H The  transmission  delay,  TD, may be specified directly (as
  1700. TEXT: H TD=10ns, for example).  Alternatively, a frequency F may  be
  1701. TEXT: H given, together with NL, the normalized electrical length of
  1702. TEXT: H the transmission line with respect to the wavelength in  the
  1703. TEXT: H line at the frequency F.  If a frequency is specified but NL
  1704. TEXT: H is omitted, 0.25 is  assumed  (that  is,  the  frequency  is
  1705. TEXT: H assumed  to  be  the  quarter-wave  frequency).   Note  that
  1706. TEXT: H although both forms for expressing the line length are indi-
  1707. TEXT: H cated as optional, one of the two must be specified.
  1708. TEXT: H
  1709. TEXT: H      Note that this  element  models  only  one  propagating
  1710. TEXT: H mode.  If all four nodes are distinct in the actual circuit,
  1711. TEXT: H then two modes may be excited.  To simulate  such  a  situa-
  1712. TEXT: H tion, two transmission-line elements are required.  (see the
  1713. TEXT: H example in Appendix A for further clarification.)
  1714. TEXT: H
  1715. TEXT: H      The (optional) initial condition specification consists
  1716. TEXT: H of  the voltage and current at each of the transmission line
  1717. TEXT: H ports.  Note that the  initial  conditions  (if  any)  apply
  1718. TEXT: H 'only'  if  the UIC option is specified on the .TRAN control
  1719. TEXT: H line.
  1720. TEXT: H
  1721. TEXT: H      Note that a lossy transmission line  (see  below)  with
  1722. TEXT: H zero  loss  may  be  more  accurate  than  than the lossless
  1723. TEXT: H transmission line due to implementation details.
  1724. TEXT: H
  1725. TEXT: H
  1726.  
  1727. SUBJECT: Lossy Transmission Lines
  1728. TITLE: Lossy Transmission Lines
  1729. TEXT: H
  1730. TEXT: H _3._3._2.  _L_o_s_s_y _T_r_a_n_s_m_i_s_s_i_o_n _L_i_n_e_s
  1731. TEXT: H
  1732. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1733. TEXT: H
  1734. TEXT: H     OXXXXXXX N1 N2 N3 N4 MNAME
  1735. TEXT: H
  1736. TEXT: H
  1737. TEXT: H _E_x_a_m_p_l_e_s:
  1738. TEXT: H
  1739. TEXT: H     O23 1 0 2 0 LOSSYMOD
  1740. TEXT: H     OCONNECT 10 5 20 5 INTERCONNECT
  1741. TEXT: H
  1742. TEXT: H
  1743. TEXT: H
  1744. TEXT: H      This  is  a  two-port  convolution  model  for  single-
  1745. TEXT: H conductor lossy transmission lines.  N1 and N2 are the nodes
  1746. TEXT: H at port 1;  N3 and N4 are the nodes at port 2.  Note that  a
  1747. TEXT: H lossy  transmission line with zero loss may be more accurate
  1748. TEXT: H than than the lossless transmission line due to  implementa-
  1749. TEXT: H tion details.
  1750. TEXT: H
  1751.  
  1752. SUBJECT: Lossy Transmission Line Model 
  1753. TITLE: Lossy Transmission Line Model (LTRA)
  1754. TEXT: H
  1755. TEXT: H _3._3._3.  _L_o_s_s_y _T_r_a_n_s_m_i_s_s_i_o_n _L_i_n_e _M_o_d_e_l (_L_T_R_A)
  1756. TEXT: H
  1757. TEXT: H
  1758. TEXT: H      The uniform RLC/RC/LC/RG transmission line  model  (re-
  1759. TEXT: H ferred  to  as  the  LTRA model henceforth) models a uniform
  1760. TEXT: H constant-parameter distributed transmission  line.   The  RC
  1761. TEXT: H and  LC  cases  may  also  be  modeled using the URC and TRA
  1762. TEXT: H models; however, the newer LTRA model is usually faster  and
  1763. TEXT: H more  accurate  than  the others.  The operation of the LTRA
  1764. TEXT: H model is based on the convolution of the transmission line's
  1765. TEXT: H impulse responses with its inputs (see [8]).
  1766. TEXT: H
  1767. TEXT: H      The LTRA model takes a number of  parameters,  some  of
  1768. TEXT: H which must be given and some of which are optional.
  1769. TEXT: H
  1770. TEXT: H name           parameter                               units/type       default      example
  1771. TEXT: H
  1772. TEXT: H R              resistance/length                       Z/unit           0.0          0.2
  1773. TEXT: H L              inductance/length                       henrys/unit      0.0          9.13e-9
  1774. TEXT: H G              conductance/length                      mhos/unit        0.0          0.0
  1775. TEXT: H C              capacitance/length                      farads/unit      0.0          3.65e-12
  1776. TEXT: H LEN            length of line                                           no default   1.0
  1777. TEXT: H REL            breakpoint control                      arbitrary unit   1            0.5
  1778. TEXT: H ABS            breakpoint control                                       1            5
  1779. TEXT: H NOSTEPLIMIT    don't limit  timestep  to  less  than   flag             not set      set
  1780. TEXT: H                line delay
  1781. TEXT: H NOCONTROL      don't do complex timestep control       flag             not set      set
  1782. TEXT: H LININTERP      use linear interpolation                flag             not set      set
  1783. TEXT: H MIXEDINTERP    use linear when quadratic seems bad                      not set      set
  1784. TEXT: H COMPACTREL     special reltol for history compaction   flag             RELTOL       1.0e-3
  1785. TEXT: H COMPACTABS     special abstol for history compaction                    ABSTOL       1.0e-9
  1786. TEXT: H TRUNCNR        use   Newton-Raphson    method    for   flag             not set      set
  1787. TEXT: H                timestep control
  1788. TEXT: H TRUNCDONTCUT   don't   limit   timestep   to    keep   flag             not set      set
  1789. TEXT: H                impulse-response errors low
  1790. TEXT: H
  1791. TEXT: H
  1792. TEXT: H
  1793. TEXT: H      The following types of lines have been  implemented  so
  1794. TEXT: H far:  RLC (uniform transmission line with series loss only),
  1795. TEXT: H RC (uniform RC line), LC (lossless transmission  line),  and
  1796. TEXT: H RG  (distributed  series resistance and parallel conductance
  1797. TEXT: H only).  Any other combination will yield  erroneous  results
  1798. TEXT: H and should not be tried.  The length LEN of the line must be
  1799. TEXT: H specified.
  1800. TEXT: H
  1801. TEXT: H      NOSTEPLIMIT is a flag that will remove the default res-
  1802. TEXT: H triction  of limiting time-steps to less than the line delay
  1803. TEXT: H in the RLC case.  NOCONTROL is  a  flag  that  prevents  the
  1804. TEXT: H default limiting of the time-step based on convolution error
  1805. TEXT: H criteria in the RLC and RC cases.  This speeds up simulation
  1806. TEXT: H but  may  in  some  cases  reduce  the  accuracy of results.
  1807. TEXT: H LININTERP is a flag that, when specified,  will  use  linear
  1808. TEXT: H interpolation instead of the default quadratic interpolation
  1809. TEXT: H for calculating delayed  signals.   MIXEDINTERP  is  a  flag
  1810. TEXT: H that, when specified, uses a metric for judging whether qua-
  1811. TEXT: H dratic interpolation is not applicable and if so uses linear
  1812. TEXT: H interpolation;  otherwise  it  uses  the  default  quadratic
  1813. TEXT: H interpolation.  TRUNCDONTCUT is  a  flag  that  removes  the
  1814. TEXT: H default  cutting  of  the  time-step  to limit errors in the
  1815. TEXT: H actual calculation of impulse-response  related  quantities.
  1816. TEXT: H COMPACTREL  and  COMPACTABS  are quantities that control the
  1817. TEXT: H compaction of the past history of values stored for convolu-
  1818. TEXT: H tion.   Larger  values  of  these lower accuracy but usually
  1819. TEXT: H increase simulation speed.  These are to be  used  with  the
  1820. TEXT: H TRYTOCOMPACT  option,  described  in  the  .OPTIONS section.
  1821. TEXT: H TRUNCNR is a flag that turns on the  use  of  Newton-Raphson
  1822. TEXT: H iterations  to  determine  an  appropriate  timestep  in the
  1823. TEXT: H timestep control routines. The default is a trial and  error
  1824. TEXT: H procedure by cutting the previous timestep in half.  REL and
  1825. TEXT: H ABS are quantities that control the setting of breakpoints.
  1826. TEXT: H
  1827. TEXT: H      The option most worth experimenting with for increasing
  1828. TEXT: H the  speed  of simulation is REL.  The default value of 1 is
  1829. TEXT: H usually safe from the point of view of  accuracy  but  occa-
  1830. TEXT: H sionally increases computation time.  A value greater than 2
  1831. TEXT: H eliminates all breakpoints and may be worth trying depending
  1832. TEXT: H on  the  nature  of the rest of the circuit, keeping in mind
  1833. TEXT: H that it might not be safe from the  viewpoint  of  accuracy.
  1834. TEXT: H Breakpoints  may  usually  be  entirely  eliminated if it is
  1835. TEXT: H expected the circuit will not display sharp discontinuities.
  1836. TEXT: H Values  between  0 and 1 are usually not required but may be
  1837. TEXT: H used for setting many breakpoints.
  1838. TEXT: H
  1839. TEXT: H      COMPACTREL may  also  be  experimented  with  when  the
  1840. TEXT: H option  TRYTOCOMPACT  is  specified in a .OPTIONS card.  The
  1841. TEXT: H legal range is between  0  and  1.   Larger  values  usually
  1842. TEXT: H decrease  the  accuracy  of the simulation but in some cases
  1843. TEXT: H improve speed.   If  TRYTOCOMPACT  is  not  specified  on  a
  1844. TEXT: H .OPTIONS card, history compaction is not attempted and accu-
  1845. TEXT: H racy is high.  NOCONTROL, TRUNCDONTCUT and NOSTEPLIMIT  also
  1846. TEXT: H tend to increase speed at the expense of accuracy.
  1847. TEXT: H
  1848.  
  1849. SUBJECT: Uniform Distributed RC Lines 
  1850. TITLE: Uniform Distributed RC Lines (Lossy)
  1851. TEXT: H
  1852. TEXT: H _3._3._4.  _U_n_i_f_o_r_m _D_i_s_t_r_i_b_u_t_e_d _R_C _L_i_n_e_s (_L_o_s_s_y)
  1853. TEXT: H
  1854. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1855. TEXT: H
  1856. TEXT: H     UXXXXXXX N1 N2 N3 MNAME L=LEN <N=LUMPS>
  1857. TEXT: H
  1858. TEXT: H
  1859. TEXT: H _E_x_a_m_p_l_e_s:
  1860. TEXT: H
  1861. TEXT: H     U1 1 2 0 URCMOD L=50U
  1862. TEXT: H     URC2 1 12 2 UMODL l=1MIL N=6
  1863. TEXT: H
  1864. TEXT: H
  1865. TEXT: H
  1866. TEXT: H      N1 and N2 are the two element nodes the  RC  line  con-
  1867. TEXT: H nects,  while  N3  is the node to which the capacitances are
  1868. TEXT: H connected.  MNAME is the model name, LEN is  the  length  of
  1869. TEXT: H the  RC  line in meters.  LUMPS, if specified, is the number
  1870. TEXT: H of lumped segments to use in modeling the RC line  (see  the
  1871. TEXT: H model  description for the action taken if this parameter is
  1872. TEXT: H omitted).
  1873. TEXT: H
  1874.  
  1875. SUBJECT: Uniform Distributed RC Model 
  1876. TITLE: Uniform Distributed RC Model (URC)
  1877. TEXT: H
  1878. TEXT: H _3._3._5.  _U_n_i_f_o_r_m _D_i_s_t_r_i_b_u_t_e_d _R_C _M_o_d_e_l (_U_R_C)
  1879. TEXT: H
  1880. TEXT: H
  1881. TEXT: H      The URC model is derived from a model  proposed  by  L.
  1882. TEXT: H Gertzberrg  in 1974.  The model is accomplished by a subcir-
  1883. TEXT: H cuit type expansion of the URC line into a network of lumped
  1884. TEXT: H RC  segments  with  internally generated nodes.  The RC seg-
  1885. TEXT: H ments are in a geometric progression, increasing toward  the
  1886. TEXT: H middle  of  the  URC  line, with K as a proportionality con-
  1887. TEXT: H stant.  The number of lumped segments used, if not specified
  1888. TEXT: H for the URC line device, is determined by the following for-
  1889. TEXT: H mula:
  1890. TEXT: H                                             2
  1891. TEXT: H                     |     R C        |(K-1)|  |
  1892. TEXT: H                           _ _      2
  1893. TEXT: H                  log|F        2 J L  |-----|  |
  1894. TEXT: H                       max
  1895. TEXT: H                     |     L L        |  K  |  |
  1896. TEXT: H
  1897. TEXT: H             N =  ------------------------------
  1898. TEXT: H                              log K
  1899. TEXT: H
  1900. TEXT: H
  1901. TEXT: H
  1902. TEXT: H
  1903. TEXT: H      The URC line is made up strictly of resistor and  capa-
  1904. TEXT: H citor  segments  unless the ISPERL parameter is given a non-
  1905. TEXT: H zero value, in which case the capacitors are  replaced  with
  1906. TEXT: H reverse  biased diodes with a zero-bias junction capacitance
  1907. TEXT: H equivalent to the capacitance replaced, and with  a  satura-
  1908. TEXT: H tion  current  of ISPERL amps per meter of transmission line
  1909. TEXT: H and an optional series resistance equivalent to RSPERL  ohms
  1910. TEXT: H per meter.
  1911. TEXT: H
  1912. TEXT: H      name     parameter                            units   default   example   area
  1913. TEXT: H
  1914. TEXT: H  1   K        Propagation Constant                 -       2.0       1.2       -
  1915. TEXT: H  2   FMAX     Maximum Frequency of interest        Hz      1.0G      6.5Meg    -
  1916. TEXT: H  3   RPERL    Resistance per unit length           Z/m     1000      10        -
  1917. TEXT: H  4   CPERL    Capacitance per unit length          F/m     1.0e-15   1pF       -
  1918. TEXT: H  5   ISPERL   Saturation Current per unit length   A/m     0         -         -
  1919. TEXT: H  6   RSPERL   Diode Resistance per unit length     Z/m     0         -         -
  1920. TEXT: H
  1921. TEXT: H
  1922. TEXT: H
  1923.  
  1924. SUBJECT: TRANSISTORS AND DIODES
  1925. TITLE: TRANSISTORS AND DIODES
  1926. TEXT: H
  1927. TEXT: H _3._4.  _T_R_A_N_S_I_S_T_O_R_S _A_N_D _D_I_O_D_E_S
  1928. TEXT: H
  1929. TEXT: H
  1930. TEXT: H      The area factor used on the diode, BJT, JFET, and  MES-
  1931. TEXT: H FET  devices  determines  the  number of equivalent parallel
  1932. TEXT: H devices of a specified model.  The affected  parameters  are
  1933. TEXT: H marked  with  an  asterisk  under  the heading 'area' in the
  1934. TEXT: H model descriptions below.  Several geometric factors associ-
  1935. TEXT: H ated  with  the  channel and the drain and source diffusions
  1936. TEXT: H can be specified on the MOSFET device line.
  1937. TEXT: H
  1938. TEXT: H      Two different forms of initial conditions may be speci-
  1939. TEXT: H fied  for  some  devices.   The  first  form  is included to
  1940. TEXT: H improve the dc convergence for circuits  that  contain  more
  1941. TEXT: H than one stable state.  If a device is specified OFF, the dc
  1942. TEXT: H operating point is determined with the terminal voltages for
  1943. TEXT: H that device set to zero.  After convergence is obtained, the
  1944. TEXT: H program continues to iterate to obtain the exact  value  for
  1945. TEXT: H the  terminal  voltages.   If a circuit has more than one dc
  1946. TEXT: H stable state, the OFF option can be used to force the  solu-
  1947. TEXT: H tion  to  correspond  to  a  desired  state.  If a device is
  1948. TEXT: H specified OFF when in reality the device is conducting,  the
  1949. TEXT: H program  still  obtains  the  correct solution (assuming the
  1950. TEXT: H solutions converge) but more iterations are  required  since
  1951. TEXT: H the  program  must  independently  converge  to two separate
  1952. TEXT: H solutions.  The .NODESET control line serves a similar  pur-
  1953. TEXT: H pose  as  the  OFF option.  The .NODESET option is easier to
  1954. TEXT: H apply and is the preferred means to aid convergence.
  1955. TEXT: H
  1956. TEXT: H      The second form of initial conditions are specified for
  1957. TEXT: H use  with  the  transient analysis.  These are true 'initial
  1958. TEXT: H conditions' as opposed to the convergence aids  above.   See
  1959. TEXT: H the  description  of the .IC control line and the .TRAN con-
  1960. TEXT: H trol line for a detailed explanation of initial conditions.
  1961. TEXT: H
  1962. TEXT: H
  1963. TEXT: H
  1964. SUBTOPIC: SPICE:Junction Diodes
  1965. SUBTOPIC: SPICE:Diode Model 
  1966. SUBTOPIC: SPICE:Bipolar Junction Transistors 
  1967. SUBTOPIC: SPICE:BJT Models 
  1968. SUBTOPIC: SPICE:Junction FieldEffect Transistors 
  1969. SUBTOPIC: SPICE:JFET Models 
  1970. SUBTOPIC: SPICE:MOSFETs
  1971. SUBTOPIC: SPICE:MOSFET Models 
  1972. SUBTOPIC: SPICE:MESFETs
  1973. SUBTOPIC: SPICE:MESFET Models 
  1974.  
  1975. SUBJECT: Junction Diodes
  1976. TITLE: Junction Diodes
  1977. TEXT: H
  1978. TEXT: H _3._4._1.  _J_u_n_c_t_i_o_n _D_i_o_d_e_s
  1979. TEXT: H
  1980. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  1981. TEXT: H
  1982. TEXT: H     DXXXXXXX N+ N- MNAME <AREA> <OFF> <IC=VD> <TEMP=T>
  1983. TEXT: H
  1984. TEXT: H
  1985. TEXT: H _E_x_a_m_p_l_e_s:
  1986. TEXT: H
  1987. TEXT: H     DBRIDGE 2 10 DIODE1
  1988. TEXT: H     DCLMP 3 7 DMOD 3.0 IC=0.2
  1989. TEXT: H
  1990. TEXT: H
  1991. TEXT: H
  1992. TEXT: H      N+ and N- are the positive and negative nodes,  respec-
  1993. TEXT: H tively.   MNAME  is the model name, AREA is the area factor,
  1994. TEXT: H and OFF indicates an (optional) starting  condition  on  the
  1995. TEXT: H device  for  dc  analysis.  If the area factor is omitted, a
  1996. TEXT: H value of 1.0 is assumed.  The (optional)  initial  condition
  1997. TEXT: H specification  using  IC=VD is intended for use with the UIC
  1998. TEXT: H option on the .TRAN control line, when a transient  analysis
  1999. TEXT: H is  desired starting from other than the quiescent operating
  2000. TEXT: H point.  The (optional) TEMP  value  is  the  temperature  at
  2001. TEXT: H which  this device is to operate, and overrides the tempera-
  2002. TEXT: H ture specification on the .OPTION control line.
  2003. TEXT: H
  2004. TEXT: H
  2005.  
  2006. SUBJECT: Diode Model 
  2007. TITLE: Diode Model (D)
  2008. TEXT: H
  2009. TEXT: H _3._4._2.  _D_i_o_d_e _M_o_d_e_l (_D)
  2010. TEXT: H
  2011. TEXT: H
  2012. TEXT: H      The dc characteristics of the diode are  determined  by
  2013. TEXT: H the  parameters  IS  and N.  An ohmic resistance, RS, is in-
  2014. TEXT: H cluded.  Charge storage effects are  modeled  by  a  transit
  2015. TEXT: H time,  TT, and a nonlinear depletion layer capacitance which
  2016. TEXT: H is determined by the parameters CJO, VJ, and  M.   The  tem-
  2017. TEXT: H perature  dependence of the saturation current is defined by
  2018. TEXT: H the parameters  EG,  the  energy  and  XTI,  the  saturation
  2019. TEXT: H current  temperature  exponent.   The nominal temperature at
  2020. TEXT: H which these parameters were measured is TNOM, which defaults
  2021. TEXT: H to  the circuit-wide value specified on the .OPTIONS control
  2022. TEXT: H line.  Reverse breakdown is modeled by  an  exponential  in-
  2023. TEXT: H crease in the reverse diode current and is determined by the
  2024. TEXT: H parameters BV and IBV (both of which are positive numbers).
  2025. TEXT: H
  2026. TEXT: H
  2027. TEXT: H
  2028. TEXT: H      name   parameter                           units   default    example    area
  2029. TEXT: H
  2030. TEXT: H  1   IS     saturation current                  A       1.0e-14    1.0e-14    *
  2031. TEXT: H  2   RS     ohmic resistance                    Z       0          10         *
  2032. TEXT: H  3   N      emission coefficient                -       1          1.0
  2033. TEXT: H  4   TT     transit-time                        sec     0          0.1ns
  2034. TEXT: H  5   CJO    zero-bias junction capacitance      F       0          2pF        *
  2035. TEXT: H  6   VJ     junction potential                  V       1          0.6
  2036. TEXT: H  7   M      grading coefficient                 -       0.5        0.5
  2037. TEXT: H  8   EG     activation energy                   eV      1.11       1.11 Si
  2038. TEXT: H                                                                    0.69 Sbd
  2039. TEXT: H                                                                    0.67 Ge
  2040. TEXT: H  9   XTI    saturation-current temp. exp        -       3.0        3.0 jn
  2041. TEXT: H                                                                    2.0 Sbd
  2042. TEXT: H 10   KF     flicker noise coefficient           -       0
  2043. TEXT: H 11   AF     flicker noise exponent              -       1
  2044. TEXT: H 12   FC     coefficient for forward-bias        -       0.5
  2045. TEXT: H             depletion capacitance formula
  2046. TEXT: H 13   BV     reverse breakdown voltage           V       infinite   40.0
  2047. TEXT: H 14   IBV    current at breakdown voltage        A       1.0e-3
  2048. TEXT: H                                                 o
  2049. TEXT: H 15   TNOM   parameter measurement temperature    C      27         50
  2050. TEXT: H
  2051. TEXT: H
  2052. TEXT: H
  2053. TEXT: H
  2054.  
  2055. SUBJECT: Bipolar Junction Transistors 
  2056. TITLE: Bipolar Junction Transistors (BJTs)
  2057. TEXT: H
  2058. TEXT: H _3._4._3.  _B_i_p_o_l_a_r _J_u_n_c_t_i_o_n _T_r_a_n_s_i_s_t_o_r_s (_B_J_T_s)
  2059. TEXT: H
  2060. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  2061. TEXT: H
  2062. TEXT: H     QXXXXXXX NC NB NE <NS> MNAME <AREA> <OFF> <IC=VBE, VCE> <TEMP=T>
  2063. TEXT: H
  2064. TEXT: H
  2065. TEXT: H _E_x_a_m_p_l_e_s:
  2066. TEXT: H
  2067. TEXT: H     Q23 10 24 13 QMOD IC=0.6, 5.0
  2068. TEXT: H     Q50A 11 26 4 20 MOD1
  2069. TEXT: H
  2070. TEXT: H
  2071. TEXT: H
  2072. TEXT: H      NC, NB, and NE are the  collector,  base,  and  emitter
  2073. TEXT: H nodes,  respectively.   NS is the (optional) substrate node.
  2074. TEXT: H If unspecified, ground is used.  MNAME is  the  model  name,
  2075. TEXT: H AREA  is  the  area  factor, and OFF indicates an (optional)
  2076. TEXT: H initial condition on the device for the dc analysis.  If the
  2077. TEXT: H area  factor  is  omitted,  a  value of 1.0 is assumed.  The
  2078. TEXT: H (optional) initial condition specification using IC=VBE, VCE
  2079. TEXT: H is intended for use with the UIC option on the .TRAN control
  2080. TEXT: H line, when a transient analysis  is  desired  starting  from
  2081. TEXT: H other  than the quiescent operating point.  See the .IC con-
  2082. TEXT: H trol line description for a better way to set transient ini-
  2083. TEXT: H tial  conditions.  The (optional) TEMP value is the tempera-
  2084. TEXT: H ture at which this device is to operate, and  overrides  the
  2085. TEXT: H temperature specification on the .OPTION control line.
  2086. TEXT: H
  2087. TEXT: H
  2088.  
  2089. SUBJECT: BJT Models 
  2090. TITLE: BJT Models (NPN/PNP)
  2091. TEXT: H
  2092. TEXT: H _3._4._4.  _B_J_T _M_o_d_e_l_s (_N_P_N/_P_N_P)
  2093. TEXT: H
  2094. TEXT: H
  2095. TEXT: H      The bipolar junction transistor model in  SPICE  is  an
  2096. TEXT: H adaptation  of  the  integral charge control model of Gummel
  2097. TEXT: H and Poon.  This modified Gummel-Poon model extends the  ori-
  2098. TEXT: H ginal  model to include several effects at high bias levels.
  2099. TEXT: H The model automatically simplifies to the simpler Ebers-Moll
  2100. TEXT: H model when certain parameters are not specified.  The param-
  2101. TEXT: H eter names used in the modified Gummel-Poon model have  been
  2102. TEXT: H chosen to be more easily understood by the program user, and
  2103. TEXT: H to reflect better both physical and circuit design thinking.
  2104. TEXT: H
  2105. TEXT: H
  2106. TEXT: H      The dc model is defined by the parameters IS,  BF,  NF,
  2107. TEXT: H ISE,  IKF,  and  NE which determine the forward current gain
  2108. TEXT: H characteristics, IS, BR, NR, ISC, IKR, and NC  which  deter-
  2109. TEXT: H mine  the  reverse current gain characteristics, and VAF and
  2110. TEXT: H VAR which determine the output conductance for  forward  and
  2111. TEXT: H reverse regions.  Three ohmic resistances RB, RC, and RE are
  2112. TEXT: H included, where RB can  be  high  current  dependent.   Base
  2113. TEXT: H charge  storage  is  modeled  by forward and reverse transit
  2114. TEXT: H times, TF and TR, the forward transit  time  TF  being  bias
  2115. TEXT: H dependent  if desired, and nonlinear depletion layer capaci-
  2116. TEXT: H tances which are determined by CJE, VJE, and MJE for the B-E
  2117. TEXT: H junction  ,  CJC, VJC, and MJC for the B-C junction and CJS,
  2118. TEXT: H VJS, and MJS for  the  C-S  (Collector-Substrate)  junction.
  2119. TEXT: H The temperature dependence of the saturation current, IS, is
  2120. TEXT: H determined by the energy-gap, EG, and the saturation current
  2121. TEXT: H temperature  exponent,  XTI.  Additionally base current tem-
  2122. TEXT: H perature dependence  is  modeled  by  the  beta  temperature
  2123. TEXT: H exponent  XTB  in  the  new model.  The values specified are
  2124. TEXT: H assumed to have been measured at the temperature TNOM, which
  2125. TEXT: H can  be specified on the .OPTIONS control line or overridden
  2126. TEXT: H by a specification on the .MODEL line.
  2127. TEXT: H
  2128. TEXT: H      The  BJT parameters used in  the  modified  Gummel-Poon
  2129. TEXT: H model are listed below.  The parameter names used in earlier
  2130. TEXT: H versions of SPICE2 are still accepted.
  2131. TEXT: H
  2132. TEXT: H         Modified Gummel-Poon BJT Parameters.
  2133. TEXT: H
  2134. TEXT: H
  2135. TEXT: H      name   parameter                               units   default    example   area
  2136. TEXT: H
  2137. TEXT: H 1    IS     transport saturation current            A       1.0e-16    1.0e-15   *
  2138. TEXT: H 2    BF     ideal maximum forward beta              -       100        100
  2139. TEXT: H 3    NF     forward current emission coefficient    -       1.0        1
  2140. TEXT: H 4    VAF    forward Early voltage                   V       infinite   200
  2141. TEXT: H 5    IKF    corner for forward beta
  2142. TEXT: H             high current roll-off                   A       infinite   0.01      *
  2143. TEXT: H 6    ISE    B-E leakage saturation current          A       0          1.0e-13   *
  2144. TEXT: H 7    NE     B-E leakage emission coefficient        -       1.5        2
  2145. TEXT: H 8    BR     ideal maximum reverse beta              -       1          0.1
  2146. TEXT: H 9    NR     reverse current emission coefficient    -       1          1
  2147. TEXT: H 10   VAR    reverse Early voltage                   V       infinite   200
  2148. TEXT: H 11   IKR    corner for reverse beta
  2149. TEXT: H             high current roll-off                   A       infinite   0.01      *
  2150. TEXT: H 12   ISC    B-C leakage saturation current          A       0          1.0e-13   *
  2151. TEXT: H 13   NC     B-C leakage emission coefficient        -       2          1.5
  2152. TEXT: H 14   RB     zero bias base resistance               Z       0          100       *
  2153. TEXT: H 15   IRB    current where base resistance
  2154. TEXT: H             falls halfway to its min value          A       infinite   0.1       *
  2155. TEXT: H 16   RBM    minimum base resistance
  2156. TEXT: H             at high currents                        Z       RB         10        *
  2157. TEXT: H 17   RE     emitter resistance                      Z       0          1         *
  2158. TEXT: H 18   RC     collector resistance                    Z       0          10        *
  2159. TEXT: H 19   CJE    B-E zero-bias depletion capacitance     F       0          2pF       *
  2160. TEXT: H 20   VJE    B-E built-in potential                  V       0.75       0.6
  2161. TEXT: H 21   MJE    B-E junction exponential factor         -       0.33       0.33
  2162. TEXT: H 22   TF     ideal forward transit time              sec     0          0.1ns
  2163. TEXT: H 23   XTF    coefficient for bias dependence of TF   -       0
  2164. TEXT: H 24   VTF    voltage describing VBC
  2165. TEXT: H             dependence of TF                        V       infinite
  2166. TEXT: H 25   ITF    high-current parameter
  2167. TEXT: H             for effect on TF                        A       0                    *
  2168. TEXT: H 26   PTF    excess phase at freq=1.0/(TF*2PI) Hz    deg     0
  2169. TEXT: H 27   CJC    B-C zero-bias depletion capacitance     F       0          2pF       *
  2170. TEXT: H 28   VJC    B-C built-in potential                  V       0.75       0.5
  2171. TEXT: H 29   MJC    B-C junction exponential factor         -       0.33       0.5
  2172. TEXT: H 30   XCJC   fraction of B-C depletion capacitance   -       1
  2173. TEXT: H             connected to internal base node
  2174. TEXT: H 31   TR     ideal reverse transit time              sec     0          10ns
  2175. TEXT: H 32   CJS    zero-bias collector-substrate
  2176. TEXT: H             capacitance                             F       0          2pF       *
  2177. TEXT: H 33   VJS    substrate junction built-in potential   V       0.75
  2178. TEXT: H 34   MJS    substrate junction exponential factor   -       0          0.5
  2179. TEXT: H 35   XTB    forward and reverse beta
  2180. TEXT: H             temperature exponent                    -       0
  2181. TEXT: H 36   EG     energy gap for temperature
  2182. TEXT: H             effect on IS                            eV      1.11
  2183. TEXT: H 37   XTI    temperature exponent for effect on IS   -       3
  2184. TEXT: H 38   KF     flicker-noise coefficient               -       0
  2185. TEXT: H 39   AF     flicker-noise exponent                  -       1
  2186. TEXT: H 40   FC     coefficient for forward-bias
  2187. TEXT: H             depletion capacitance formula           -       0.5
  2188. TEXT: H                                                     o
  2189. TEXT: H 41   TNOM   Parameter measurement temperature        C      27         50
  2190. TEXT: H
  2191. TEXT: H
  2192. TEXT: H
  2193.  
  2194. SUBJECT: Junction FieldEffect Transistors 
  2195. TITLE: Junction Field-Effect Transistors (JFETs)
  2196. TEXT: H
  2197. TEXT: H _3._4._5.  _J_u_n_c_t_i_o_n _F_i_e_l_d-_E_f_f_e_c_t _T_r_a_n_s_i_s_t_o_r_s (_J_F_E_T_s)
  2198. TEXT: H
  2199. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  2200. TEXT: H
  2201. TEXT: H     JXXXXXXX ND NG NS MNAME <AREA> <OFF> <IC=VDS, VGS> <TEMP=T>
  2202. TEXT: H
  2203. TEXT: H
  2204. TEXT: H _E_x_a_m_p_l_e_s:
  2205. TEXT: H
  2206. TEXT: H     J1 7 2 3 JM1 OFF
  2207. TEXT: H
  2208. TEXT: H
  2209. TEXT: H
  2210. TEXT: H      ND, NG, and NS are the drain, gate, and  source  nodes,
  2211. TEXT: H respectively.   MNAME  is  the  model name, AREA is the area
  2212. TEXT: H factor, and OFF indicates an (optional) initial condition on
  2213. TEXT: H the  device for dc analysis.  If the area factor is omitted,
  2214. TEXT: H a value of 1.0 is assumed.  The (optional) initial condition
  2215. TEXT: H specification,  using  IC=VDS,  VGS is intended for use with
  2216. TEXT: H the UIC option on the .TRAN control line, when  a  transient
  2217. TEXT: H analysis  is  desired starting from other than the quiescent
  2218. TEXT: H operating point.  See the .IC control line for a better  way
  2219. TEXT: H to set initial conditions.  The (optional) TEMP value is the
  2220. TEXT: H temperature at which this device is to  operate,  and  over-
  2221. TEXT: H rides  the  temperature specification on the .OPTION control
  2222. TEXT: H line.
  2223. TEXT: H
  2224. TEXT: H
  2225.  
  2226. SUBJECT: JFET Models 
  2227. TITLE: JFET Models (NJF/PJF)
  2228. TEXT: H
  2229. TEXT: H _3._4._6.  _J_F_E_T _M_o_d_e_l_s (_N_J_F/_P_J_F)
  2230. TEXT: H
  2231. TEXT: H
  2232. TEXT: H      The JFET model is derived from the FET model of  Shich-
  2233. TEXT: H man  and  Hodges.  The dc characteristics are defined by the
  2234. TEXT: H parameters VTO and BETA, which determine  the  variation  of
  2235. TEXT: H drain  current  with  gate voltage, LAMBDA, which determines
  2236. TEXT: H the output conductance, and IS, the  saturation  current  of
  2237. TEXT: H the  two  gate junctions.  Two ohmic resistances, RD and RS,
  2238. TEXT: H are included.  Charge storage is modeled by nonlinear deple-
  2239. TEXT: H tion  layer  capacitances for both gate junctions which vary
  2240. TEXT: H as the -1/2 power of junction voltage and are defined by the
  2241. TEXT: H parameters CGS, CGD, and PB.
  2242. TEXT: H
  2243. TEXT: H      Note that in Spice3f and later, a fitting  parameter  B
  2244. TEXT: H has been added.  For details, see [9].
  2245. TEXT: H
  2246. TEXT: H
  2247. TEXT: H      name     parameter                                  units   default   example   area
  2248. TEXT: H
  2249. TEXT: H  1   VTO      threshold voltage (V                       V       -2.0      -2.0
  2250. TEXT: H                                   TO                        2
  2251. TEXT: H  2   BETA     transconductance parameter (B)             A/V     1.0e-4    1.0e-3    *
  2252. TEXT: H  3   LAMBDA   channel-length modulation
  2253. TEXT: H               parameter (L)                              1/V     0         1.0e-4
  2254. TEXT: H  4   RD       drain ohmic resistance                     Z       0         100       *
  2255. TEXT: H  5   RS       source ohmic resistance                    Z       0         100       *
  2256. TEXT: H  6   CGS      zero-bias G-S junction capacitance (C  )   F       0         5pF       *
  2257. TEXT: H                                                    gs
  2258. TEXT: H  7   CGD      zero-bias G-D junction capacitance (C  )   F       0         1pF       *
  2259. TEXT: H                                                    gs
  2260. TEXT: H  8   PB       gate junction potential                    V       1         0.6
  2261. TEXT: H  9   IS       gate junction saturation current (I )      A       1.0e-14   1.0e-14   *
  2262. TEXT: H                                                  S
  2263. TEXT: H 10   B        doping tail parameter                      -       1         1.1
  2264. TEXT: H 11   KF       flicker noise coefficient                  -       0
  2265. TEXT: H 12   AF       flicker noise exponent                     -       1
  2266. TEXT: H 13   FC       coefficient for forward-bias               -       0.5
  2267. TEXT: H               depletion capacitance formula
  2268. TEXT: H                                                          o
  2269. TEXT: H 14   TNOM     parameter measurement temperature           C      27        50
  2270. TEXT: H
  2271. TEXT: H
  2272. TEXT: H
  2273. TEXT: H
  2274.  
  2275. SUBJECT: MOSFETs
  2276. TITLE: MOSFETs
  2277. TEXT: H
  2278. TEXT: H _3._4._7.  _M_O_S_F_E_T_s
  2279. TEXT: H
  2280. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  2281. TEXT: H
  2282. TEXT: H     MXXXXXXX ND NG NS NB MNAME <L=VAL> <W=VAL> <AD=VAL> <AS=VAL>
  2283. TEXT: H     + <PD=VAL> <PS=VAL> <NRD=VAL> <NRS=VAL> <OFF>
  2284. TEXT: H     + <IC=VDS, VGS, VBS> <TEMP=T>
  2285. TEXT: H
  2286. TEXT: H
  2287. TEXT: H _E_x_a_m_p_l_e_s:
  2288. TEXT: H
  2289. TEXT: H     M1 24 2 0 20 TYPE1
  2290. TEXT: H     M31 2 17 6 10 MODM L=5U W=2U
  2291. TEXT: H     M1 2 9 3 0 MOD1 L=10U W=5U AD=100P AS=100P PD=40U PS=40U
  2292. TEXT: H
  2293. TEXT: H
  2294. TEXT: H ND, NG, NS, and NB are the drain,  gate,  source,  and  bulk
  2295. TEXT: H (substrate)  nodes,  respectively.  MNAME is the model name.
  2296. TEXT: H L and W are the channel length and width, in meters.  AD and
  2297. TEXT: H AS  are  the  areas  of  the drain and source diffusions, in
  2298. TEXT: H       2
  2299. TEXT: H meters .  Note that the suffix U specifies microns (1e-6  m)
  2300. TEXT: H                            2
  2301. TEXT: H and  P  sq-microns (1e-12 m ). If any of L, W, AD, or AS are
  2302. TEXT: H not specified, default values are used.  The use of defaults
  2303. TEXT: H simplifies  input  file  preparation, as well as the editing
  2304. TEXT: H required if device geometries are to be changed.  PD and  PS
  2305. TEXT: H are  the  perimeters  of  the drain and source junctions, in
  2306. TEXT: H meters.  NRD and NRS  designate  the  equivalent  number  of
  2307. TEXT: H squares  of  the  drain  and source diffusions; these values
  2308. TEXT: H multiply the sheet resistance RSH specified  on  the  .MODEL
  2309. TEXT: H control line for an accurate representation of the parasitic
  2310. TEXT: H series drain and source resistance of each  transistor.   PD
  2311. TEXT: H and  PS  default to 0.0 while NRD and NRS to 1.0.  OFF indi-
  2312. TEXT: H cates an (optional) initial condition on the device  for  dc
  2313. TEXT: H analysis.   The  (optional)  initial condition specification
  2314. TEXT: H using IC=VDS, VGS, VBS is intended  for  use  with  the  UIC
  2315. TEXT: H option  on the .TRAN control line, when a transient analysis
  2316. TEXT: H is desired starting from other than the quiescent  operating
  2317. TEXT: H point.   See the .IC control line for a better and more con-
  2318. TEXT: H venient way to specify transient  initial  conditions.   The
  2319. TEXT: H (optional)  TEMP value is the temperature at which this dev-
  2320. TEXT: H ice is to operate, and overrides the temperature  specifica-
  2321. TEXT: H tion  on the .OPTION control line.  The temperature specifi-
  2322. TEXT: H cation is ONLY valid for level 1, 2, 3, and 6  MOSFETs,  not
  2323. TEXT: H for level 4 or 5 (BSIM) devices.
  2324. TEXT: H
  2325. TEXT: H
  2326.  
  2327. SUBJECT: MOSFET Models 
  2328. TITLE: MOSFET Models (NMOS/PMOS)
  2329. TEXT: H
  2330. TEXT: H _3._4._8.  _M_O_S_F_E_T _M_o_d_e_l_s (_N_M_O_S/_P_M_O_S)
  2331. TEXT: H
  2332. TEXT: H
  2333. TEXT: H      SPICE provides four MOSFET device models, which  differ
  2334. TEXT: H in  the formulation of the I-V characteristic.  The variable
  2335. TEXT: H LEVEL specifies the model to be used:
  2336. TEXT: H
  2337. TEXT: H     LEVEL=1 ->    Shichman-Hodges
  2338. TEXT: H     LEVEL=2 ->    MOS2 (as described in [1])
  2339. TEXT: H     LEVEL=3 ->    MOS3, a semi-empirical model(see [1])
  2340. TEXT: H     LEVEL=4 ->    BSIM (as described in [3])
  2341. TEXT: H     LEVEL=5 ->    new BSIM (BSIM2; as described in [5])
  2342. TEXT: H     LEVEL=6 ->    MOS6 (as described in [2])
  2343. TEXT: H
  2344. TEXT: H
  2345. TEXT: H The dc characteristics of the level 1 through level  3  MOS-
  2346. TEXT: H FETs  are  defined by the device parameters VTO, KP, LAMBDA,
  2347. TEXT: H PHI and GAMMA.  These parameters are computed  by  SPICE  if
  2348. TEXT: H process  parameters  (NSUB,  TOX,  ...) are given, but user-
  2349. TEXT: H specified values always override.  VTO  is  positive  (nega-
  2350. TEXT: H tive)  for  enhancement  mode  and  negative  (positive) for
  2351. TEXT: H depletion  mode  N-channel  (P-channel)   devices.    Charge
  2352. TEXT: H storage is modeled by three constant capacitors, CGSO, CGDO,
  2353. TEXT: H and CGBO which represent overlap capacitances, by  the  non-
  2354. TEXT: H linear thin-oxide capacitance which is distributed among the
  2355. TEXT: H gate, source, drain, and bulk regions, and by the  nonlinear
  2356. TEXT: H depletion-layer  capacitances  for  both substrate junctions
  2357. TEXT: H divided into bottom and periphery, which vary as the MJ  and
  2358. TEXT: H MJSW  power of junction voltage respectively, and are deter-
  2359. TEXT: H mined by the parameters CBD, CBS, CJ, CJSW, MJ, MJSW and PB.
  2360. TEXT: H Charge  storage  effects are modeled by the piecewise linear
  2361. TEXT: H voltages-dependent capacitance model proposed by Meyer.  The
  2362. TEXT: H thin-oxide  charge-storage effects are treated slightly dif-
  2363. TEXT: H ferent for the LEVEL=1 model.  These voltage-dependent capa-
  2364. TEXT: H citances  are included only if TOX is specified in the input
  2365. TEXT: H description and they are represented using Meyer's  formula-
  2366. TEXT: H tion.
  2367. TEXT: H
  2368. TEXT: H      There is some overlap among the  parameters  describing
  2369. TEXT: H the  junctions, e.g. the reverse current can be input either
  2370. TEXT: H                              2
  2371. TEXT: H as IS (in A) or as JS (in A/m ). Whereas  the  first  is  an
  2372. TEXT: H absolute value the second is multiplied by AD and AS to give
  2373. TEXT: H the reverse  current  of  the  drain  and  source  junctions
  2374. TEXT: H respectively.   This methodology has been chosen since there
  2375. TEXT: H is no sense in relating always junction characteristics with
  2376. TEXT: H AD  and  AS  entered  on  the  device line; the areas can be
  2377. TEXT: H defaulted.  The same idea  applies  also  to  the  zero-bias
  2378. TEXT: H junction capacitances CBD and CBS (in F) on one hand, and CJ
  2379. TEXT: H        2
  2380. TEXT: H (in F/m ) on the other.   The  parasitic  drain  and  source
  2381. TEXT: H series  resistance  can be expressed as either RD and RS (in
  2382. TEXT: H ohms) or RSH (in ohms/sq.), the latter being  multiplied  by
  2383. TEXT: H the number of squares NRD and NRS input on the device line.
  2384. TEXT: H
  2385. TEXT: H      A discontinuity in the MOS level 3 model  with  respect
  2386. TEXT: H to  the  KAPPA  parameter has been detected (see [10]).  The
  2387. TEXT: H supplied fix has been implemented  in  Spice3f2  and  later.
  2388. TEXT: H Since  this  fix  may  affect  parameter fitting, the option
  2389. TEXT: H "BADMOS3" may be set to use the old implementation (see  the
  2390. TEXT: H section  on  simulation  variables and the ".OPTIONS" line).
  2391. TEXT: H SPICE level 1, 2,  3 and 6 parameters:
  2392. TEXT: H
  2393. TEXT: H
  2394. TEXT: H      name     parameter                               units   default           example
  2395. TEXT: H
  2396. TEXT: H 1    LEVEL    model index                             -       1
  2397. TEXT: H 2    VTO      zero-bias threshold voltage (V  )       V       0.0               1.0
  2398. TEXT: H                                             TO           2
  2399. TEXT: H 3    KP       transconductance parameter              A/V     2.0e-5            3.1e-5
  2400. TEXT: H                                                        1/2
  2401. TEXT: H 4    GAMMA    bulk threshold parameter (\)            V       0.0               0.37
  2402. TEXT: H 5    PHI      surface potential (U)                   V       0.6               0.65
  2403. TEXT: H 6    LAMBDA   channel-length modulation
  2404. TEXT: H               (MOS1 and MOS2 only) (L)                1/V     0.0               0.02
  2405. TEXT: H 7    RD       drain ohmic resistance                  Z       0.0               1.0
  2406. TEXT: H 8    RS       source ohmic resistance                 Z       0.0               1.0
  2407. TEXT: H 9    CBD      zero-bias B-D junction capacitance      F       0.0               20fF
  2408. TEXT: H 10   CBS      zero-bias B-S junction capacitance      F       0.0               20fF
  2409. TEXT: H 11   IS       bulk junction saturation current (I )   A       1.0e-14           1.0e-15
  2410. TEXT: H                                                  S
  2411. TEXT: H 12   PB       bulk junction potential                 V       0.8               0.87
  2412. TEXT: H 13   CGSO     gate-source overlap capacitance
  2413. TEXT: H               per meter channel width                 F/m     0.0               4.0e-11
  2414. TEXT: H 14   CGDO     gate-drain overlap capacitance
  2415. TEXT: H               per meter channel width                 F/m     0.0               4.0e-11
  2416. TEXT: H 15   CGBO     gate-bulk overlap capacitance
  2417. TEXT: H               per meter channel length                F/m     0.0               2.0e-10
  2418. TEXT: H 16   RSH      drain and source diffusion
  2419. TEXT: H               sheet resistance                        Z/[]    0.0               10.0
  2420. TEXT: H 17   CJ       zero-bias bulk junction bottom cap.
  2421. TEXT: H                                                          2
  2422. TEXT: H               per sq-meter of junction area           F/m     0.0               2.0e-4
  2423. TEXT: H 18   MJ       bulk junction bottom grading coeff.     -       0.5               0.5
  2424. TEXT: H 19   CJSW     zero-bias bulk junction sidewall cap.
  2425. TEXT: H               per meter of junction perimeter         F/m     0.0               1.0e-9
  2426. TEXT: H 20   MJSW     bulk junction sidewall grading coeff.   -       0.50(level1)
  2427. TEXT: H                                                               0.33(level2, 3)
  2428. TEXT: H 21   JS       bulk junction saturation current
  2429. TEXT: H                                                          2
  2430. TEXT: H               per sq-meter of junction area           A/m                       1.0e-8
  2431. TEXT: H 22   TOX      oxide thickness                         meter   1.0e-7            1.0e-7
  2432. TEXT: H                                                           3
  2433. TEXT: H 23   NSUB     substrate doping                        1/cm    0.0               4.0e15
  2434. TEXT: H                                                           2
  2435. TEXT: H 24   NSS      surface state density                   1/cm    0.0               1.0e10
  2436. TEXT: H                                                           2
  2437. TEXT: H 25   NFS      fast surface state density              1/cm    0.0               1.0e10
  2438. TEXT: H
  2439. TEXT: H                          _c_o_n_t_i_n_u_e_d
  2440. TEXT: H
  2441. TEXT: H      name    parameter                              units    default   example
  2442. TEXT: H
  2443. TEXT: H 26   TPG     type of gate material:                 -        1.0
  2444. TEXT: H                  +1 opp. to substrate
  2445. TEXT: H                  -1 same as substrate
  2446. TEXT: H                   0  Al gate
  2447. TEXT: H 27   XJ      metallurgical junction depth           meter    0.0       1M
  2448. TEXT: H 28   LD      lateral diffusion                      meter    0.0       0.8M
  2449. TEXT: H                                                       2
  2450. TEXT: H 29   UO      surface mobility                       cm /Vs   600       700
  2451. TEXT: H 30   UCRIT   critical field for mobility
  2452. TEXT: H              degradation (MOS2 only)                V/cm     1.0e4     1.0e4
  2453. TEXT: H 31   UEXP    critical field exponent in
  2454. TEXT: H              mobility degradation (MOS2 only)       -        0.0       0.1
  2455. TEXT: H 32   UTRA    transverse field coeff. (mobility)
  2456. TEXT: H              (deleted for MOS2)                     -        0.0       0.3
  2457. TEXT: H 33   VMAX    maximum drift velocity of carriers     m/s      0.0       5.0e4
  2458. TEXT: H 34   NEFF    total channel-charge (fixed and
  2459. TEXT: H              mobile) coefficient (MOS2 only)        -        1.0       5.0
  2460. TEXT: H 35   KF      flicker noise coefficient              -        0.0       1.0e-26
  2461. TEXT: H 36   AF      flicker noise exponent                 -        1.0       1.2
  2462. TEXT: H 37   FC      coefficient for forward-bias
  2463. TEXT: H              depletion capacitance formula          -        0.5
  2464. TEXT: H 38   DELTA   width effect on threshold voltage
  2465. TEXT: H              (MOS2 and MOS3)                        -        0.0       1.0
  2466. TEXT: H 39   THETA   mobility modulation (MOS3 only)        1/V      0.0       0.1
  2467. TEXT: H 40   ETA     static feedback (MOS3 only)            -        0.0       1.0
  2468. TEXT: H 41   KAPPA   saturation field factor (MOS3 only)    -        0.2       0.5
  2469. TEXT: H                                                     o
  2470. TEXT: H 42   TNOM    parameter measurement temperature       C       27        50
  2471. TEXT: H
  2472. TEXT: H
  2473. TEXT: H
  2474. TEXT: H
  2475. TEXT: H      The level 4 and level 5 (BSIM1  and  BSIM2)  parameters
  2476. TEXT: H are  all  values obtained from process characterization, and
  2477. TEXT: H can be generated automatically.  J. Pierret [4] describes  a
  2478. TEXT: H means  of  generating  a  'process'  file,  and  the program
  2479. TEXT: H Proc2Mod provided with SPICE3 converts this file into a  se-
  2480. TEXT: H quence  of  BSIM1 ".MODEL" lines suitable for inclusion in a
  2481. TEXT: H SPICE input file.  Parameters marked below with an * in  the
  2482. TEXT: H l/w  column also have corresponding parameters with a length
  2483. TEXT: H and width dependency.  For example, VFB is the basic parame-
  2484. TEXT: H ter  with  units  of Volts, and LVFB and WVFB also exist and
  2485. TEXT: H have units of Volt-Mmeter The formula
  2486. TEXT: H
  2487. TEXT: H                            P            P
  2488. TEXT: H                             L            W
  2489. TEXT: H               P = P  + ---------- + ----------
  2490. TEXT: H                    0
  2491. TEXT: H                        L            W
  2492. TEXT: H                         effective    effective
  2493. TEXT: H
  2494. TEXT: H is used to evaluate the  parameter  for  the  actual  device
  2495. TEXT: H specified with
  2496. TEXT: H
  2497. TEXT: H                   L          = L      - DL
  2498. TEXT: H                    effective    input
  2499. TEXT: H and
  2500. TEXT: H
  2501. TEXT: H                   W          = W      - DW
  2502. TEXT: H                    effective    input
  2503. TEXT: H
  2504. TEXT: H
  2505. TEXT: H
  2506. TEXT: H      Note that unlike the other models in  SPICE,  the  BSIM
  2507. TEXT: H model  is  designed  for use with a process characterization
  2508. TEXT: H system that provides all the parameters, thus there  are  no
  2509. TEXT: H defaults  for  the  parameters,  and leaving one out is con-
  2510. TEXT: H sidered an error.  For an example set of parameters and  the
  2511. TEXT: H format  of  a  process  file,  see the SPICE2 implementation
  2512. TEXT: H notes[3].
  2513. TEXT: H
  2514. TEXT: H      For more information on BSIM2, see reference [5].
  2515. TEXT: H
  2516. TEXT: H SPICE BSIM (level 4) parameters.
  2517. TEXT: H
  2518. TEXT: H
  2519. TEXT: H name    parameter                                                                 units      l/w
  2520. TEXT: H
  2521. TEXT: H VFB     flat-band voltage                                                         V          *
  2522. TEXT: H PHI     surface inversion potential                                               V          *
  2523. TEXT: H                                                                                    1/2
  2524. TEXT: H K1      body effect coefficient                                                   V          *
  2525. TEXT: H K2      drain/source depletion charge-sharing coefficient                         -          *
  2526. TEXT: H ETA     zero-bias drain-induced barrier-lowering coefficient                      -          *
  2527. TEXT: H                                                                                     2
  2528. TEXT: H MUZ     zero-bias mobility                                                        cm /V-s
  2529. TEXT: H DL      shortening of channel                                                     Mm
  2530. TEXT: H DW      narrowing of channel                                                      Mm
  2531. TEXT: H                                                                                    -1
  2532. TEXT: H U0      zero-bias transverse-field mobility degradation coefficient               V          *
  2533. TEXT: H U1      zero-bias velocity saturation coefficient                                 Mm/V       *
  2534. TEXT: H                                                                                     2  2
  2535. TEXT: H X2MZ    sens. of mobility to substrate bias at v  =0                              cm /V -s   *
  2536. TEXT: H                                                 ds                                 -1
  2537. TEXT: H X2E     sens. of drain-induced barrier lowering effect to substrate bias          V          *
  2538. TEXT: H                                                                                    -1
  2539. TEXT: H X3E     sens. of drain-induced barrier lowering effect to drain bias at V  =V     V          *
  2540. TEXT: H                                                                          ds  dd    -2
  2541. TEXT: H X2U0    sens. of transverse field mobility degradation effect to substrate bias   V          *
  2542. TEXT: H                                                                                      -2
  2543. TEXT: H X2U1    sens. of velocity saturation effect to substrate bias                     MmV        *
  2544. TEXT: H                                                                                     2  2
  2545. TEXT: H MUS     mobility at zero substrate bias and at V  =V                              cm /V -s
  2546. TEXT: H                                                 ds  dd                              2  2
  2547. TEXT: H X2MS    sens. of mobility to substrate bias at V  =V                              cm /V -s   *
  2548. TEXT: H                                                 ds  dd                              2  2
  2549. TEXT: H X3MS    sens. of mobility to drain bias at V  =V                                  cm /V -s   *
  2550. TEXT: H                                             ds  dd                                   -2
  2551. TEXT: H X3U1    sens. of velocity saturation effect on drain bias at V  =V                MmV        *
  2552. TEXT: H                                                               ds  dd
  2553. TEXT: H TOX     gate oxide thickness                                                      Mm
  2554. TEXT: H                                                                                   o
  2555. TEXT: H TEMP    temperature at which parameters were measured                              C
  2556. TEXT: H VDD     measurement bias range                                                    V
  2557. TEXT: H CGDO    gate-drain overlap capacitance per meter channel width                    F/m
  2558. TEXT: H CGSO    gate-source overlap capacitance per meter channel width                   F/m
  2559. TEXT: H CGBO    gate-bulk overlap capacitance per meter channel length                    F/m
  2560. TEXT: H XPART   gate-oxide capacitance-charge model flag                                  -
  2561. TEXT: H N0      zero-bias subthreshold slope coefficient                                  -          *
  2562. TEXT: H NB      sens. of subthreshold slope to substrate bias                             -          *
  2563. TEXT: H ND      sens. of subthreshold slope to drain bias                                 -          *
  2564. TEXT: H RSH     drain and source diffusion sheet resistance                               Z/[]
  2565. TEXT: H                                                                                      2
  2566. TEXT: H JS      source drain junction current density                                     A/m
  2567. TEXT: H PB      built in potential of source drain junction                               V
  2568. TEXT: H MJ      Grading coefficient of source drain junction                              -
  2569. TEXT: H PBSW    built in potential of source, drain junction sidewall                     V
  2570. TEXT: H MJSW    grading coefficient of source drain junction sidewall                     -
  2571. TEXT: H                                                                                      2
  2572. TEXT: H CJ      Source drain junction capacitance per unit area                           F/m
  2573. TEXT: H CJSW    source drain junction sidewall capacitance per unit length                F/m
  2574. TEXT: H WDF     source drain junction default width                                       m
  2575. TEXT: H DELL    Source drain junction length reduction                                    m
  2576. TEXT: H
  2577. TEXT: H
  2578. TEXT: H
  2579. TEXT: H      XPART = 0 selects a 40/60 drain/source charge partition
  2580. TEXT: H in  saturation,  while  XPART=1 selects a 0/100 drain/source
  2581. TEXT: H charge partition.
  2582. TEXT: H
  2583. TEXT: H
  2584. TEXT: H      ND, NG, and NS are the drain, gate, and  source  nodes,
  2585. TEXT: H respectively.   MNAME  is  the  model name, AREA is the area
  2586. TEXT: H factor, and OFF indicates an (optional) initial condition on
  2587. TEXT: H the  device for dc analysis.  If the area factor is omitted,
  2588. TEXT: H a value of 1.0 is assumed.  The (optional) initial condition
  2589. TEXT: H specification,  using  IC=VDS,  VGS is intended for use with
  2590. TEXT: H the UIC option on the .TRAN control line, when  a  transient
  2591. TEXT: H analysis  is  desired starting from other than the quiescent
  2592. TEXT: H operating point.  See the .IC control line for a better  way
  2593. TEXT: H to set initial conditions.
  2594. TEXT: H
  2595. TEXT: H
  2596.  
  2597. SUBJECT: MESFETs
  2598. TITLE: MESFETs
  2599. TEXT: H
  2600. TEXT: H _3._4._9.  _M_E_S_F_E_T_s
  2601. TEXT: H
  2602. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  2603. TEXT: H
  2604. TEXT: H     ZXXXXXXX ND NG NS MNAME <AREA> <OFF> <IC=VDS, VGS>
  2605. TEXT: H
  2606. TEXT: H
  2607. TEXT: H _E_x_a_m_p_l_e_s:
  2608. TEXT: H
  2609. TEXT: H     Z1 7 2 3 ZM1 OFF
  2610. TEXT: H
  2611. TEXT: H
  2612. TEXT: H
  2613. TEXT: H
  2614.  
  2615. SUBJECT: MESFET Models 
  2616. TITLE: MESFET Models (NMF/PMF)
  2617. TEXT: H
  2618. TEXT: H _3._4._1_0.  _M_E_S_F_E_T _M_o_d_e_l_s (_N_M_F/_P_M_F)
  2619. TEXT: H
  2620. TEXT: H
  2621. TEXT: H      The MESFET model is derived from the GaAs FET model  of
  2622. TEXT: H Statz  et al.  as described in [11].  The dc characteristics
  2623. TEXT: H are defined by the parameters VTO, B, and BETA, which deter-
  2624. TEXT: H mine  the  variation of drain current with gate voltage, AL-
  2625. TEXT: H PHA, which determines saturation voltage, and LAMBDA,  which
  2626. TEXT: H determines  the  output  conductance.  The formula are given
  2627. TEXT: H by:
  2628. TEXT: H
  2629. TEXT: H                                   3
  2630. TEXT: H                  2
  2631. TEXT: H        B (V  -V )    |    |   V  |  |                             3
  2632. TEXT: H            gs  T               ds                                 _
  2633. TEXT: H I  = --------------- |1 - |1-A---|  |(1 + L V  )   for  0 < V   <
  2634. TEXT: H  d                                           ds              ds
  2635. TEXT: H      1 + b(V   - V ) |    |    3 |  |                             A
  2636. TEXT: H             gs    T
  2637. TEXT: H                          2
  2638. TEXT: H                B (V  -V )                                     3
  2639. TEXT: H                    gs  T                                      _
  2640. TEXT: H         I  = ---------------(1 + L V  )            for  V   >
  2641. TEXT: H          d                          ds                   ds
  2642. TEXT: H              1 + b(V   - V )                                  A
  2643. TEXT: H                     gs    T
  2644. TEXT: H
  2645. TEXT: H
  2646. TEXT: H      Two ohmic resistances, RD and RS, are included.  Charge
  2647. TEXT: H storage  is  modeled  by  total gate charge as a function of
  2648. TEXT: H gate-drain and gate-source voltages and is  defined  by  the
  2649. TEXT: H parameters CGS, CGD, and PB.
  2650. TEXT: H
  2651. TEXT: H
  2652. TEXT: H
  2653. TEXT: H
  2654. TEXT: H      name     parameter                            units   default   example   area
  2655. TEXT: H
  2656. TEXT: H  1   VTO      pinch-off voltage                    V       -2.0      -2.0
  2657. TEXT: H                                                       2
  2658. TEXT: H  2   BETA     transconductance parameter           A/V     1.0e-4    1.0e-3    *
  2659. TEXT: H  3   B        doping tail extending parameter      1/V     0.3       0.3       *
  2660. TEXT: H  4   ALPHA    saturation voltage parameter         1/V     2         2         *
  2661. TEXT: H  5   LAMBDA   channel-length modulation
  2662. TEXT: H               parameter                            1/V     0         1.0e-4
  2663. TEXT: H  6   RD       drain ohmic resistance               Z       0         100       *
  2664. TEXT: H  7   RS       source ohmic resistance              Z       0         100       *
  2665. TEXT: H  8   CGS      zero-bias G-S junction capacitance   F       0         5pF       *
  2666. TEXT: H  9   CGD      zero-bias G-D junction capacitance   F       0         1pF       *
  2667. TEXT: H 10   PB       gate junction potential              V       1         0.6
  2668. TEXT: H 11   KF       flicker noise coefficient            -       0
  2669. TEXT: H 12   AF       flicker noise exponent               -       1
  2670. TEXT: H 13   FC       coefficient for forward-bias         -       0.5
  2671. TEXT: H               depletion capacitance formula
  2672. TEXT: H
  2673. TEXT: H
  2674.  
  2675. SUBJECT: ANALYSES AND OUTPUT CONTROL
  2676. TITLE: ANALYSES AND OUTPUT CONTROL
  2677. TEXT: H
  2678. TEXT: H _4.  _A_N_A_L_Y_S_E_S _A_N_D _O_U_T_P_U_T _C_O_N_T_R_O_L
  2679. TEXT: H
  2680. TEXT: H
  2681. TEXT: H      The following command lines are for specifying analyses
  2682. TEXT: H or plots within the circuit description file.  Parallel com-
  2683. TEXT: H mands exist in the interactive command interpreter (detailed
  2684. TEXT: H in  the  following  section).  Specifying analyses and plots
  2685. TEXT: H (or tables) in the input file  is  useful  for  batch  runs.
  2686. TEXT: H Batch  mode is entered when either the -b option is given or
  2687. TEXT: H when the default input source is redirected from a file.  In
  2688. TEXT: H batch  mode,  the analyses specified by the control lines in
  2689. TEXT: H the input file (e.g. ".ac", ".tran", etc.)  are  immediately
  2690. TEXT: H executed (unless ".control" lines exists; see the section on
  2691. TEXT: H the interactive command interpretor).   If  the  -r  _r_a_w_f_i_l_e
  2692. TEXT: H option  is  given  then  all  data generated is written to a
  2693. TEXT: H Spice3 rawfile.  The rawfile  may  be  read  by  either  the
  2694. TEXT: H interactive  mode  of  Spice3 or by nutmeg; see the previous
  2695. TEXT: H section for details.  In this  case,  the  .SAVE  line  (see
  2696. TEXT: H below)  may  be  used to record the value of internal device
  2697. TEXT: H variables (see Appendix B).
  2698. TEXT: H
  2699. TEXT: H      If a rawfile is not specified, then  output  plots  (in
  2700. TEXT: H "line-printer"  form) and tables can be printed according to
  2701. TEXT: H the .PRINT, .PLOT, and .FOUR control lines, described  next.
  2702. TEXT: H .PLOT,  .PRINT,  and .FOUR lines are meant for compatibility
  2703. TEXT: H with Spice2.
  2704. TEXT: H
  2705. SUBTOPIC: SPICE:SIMULATOR VARIABLES 
  2706. SUBTOPIC: SPICE:INITIAL CONDITIONS
  2707. SUBTOPIC: SPICE:ANALYSES
  2708. SUBTOPIC: SPICE:BATCH OUTPUT
  2709.  
  2710. SUBJECT: SIMULATOR VARIABLES 
  2711. TITLE: SIMULATOR VARIABLES (.OPTIONS)
  2712. TEXT: H
  2713. TEXT: H _4._1.  _S_I_M_U_L_A_T_O_R _V_A_R_I_A_B_L_E_S (._O_P_T_I_O_N_S)
  2714. TEXT: H
  2715. TEXT: H
  2716. TEXT: H      Various parameters  of  the  simulations  available  in
  2717. TEXT: H Spice3  can  be  altered  to control the accuracy, speed, or
  2718. TEXT: H default values for some devices.  These  parameters  may  be
  2719. TEXT: H changed  via  the "set" command (described later in the sec-
  2720. TEXT: H tion on the interactive front-end)  or  via  the  ".OPTIONS"
  2721. TEXT: H line:
  2722. TEXT: H
  2723. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  2724. TEXT: H
  2725. TEXT: H     .OPTIONS OPT1 OPT2 ... (or OPT=OPTVAL ...)
  2726. TEXT: H
  2727. TEXT: H
  2728. TEXT: H _E_x_a_m_p_l_e_s:
  2729. TEXT: H
  2730. TEXT: H     .OPTIONS RELTOL=.005 TRTOL=8
  2731. TEXT: H
  2732. TEXT: H
  2733. TEXT: H      The options line allows the user to reset program  con-
  2734. TEXT: H trol  and  user  options  for  specific simulation purposes.
  2735. TEXT: H Additional options for Nutmeg may be specified as  well  and
  2736. TEXT: H take  effect  when  Nutmeg  reads  the  input file.  Options
  2737. TEXT: H specified to Nutmeg via the 'set' command are also passed on
  2738. TEXT: H to  SPICE3 as if specified on a .OPTIONS line.  See the fol-
  2739. TEXT: H lowing section on the interactive  command  interpreter  for
  2740. TEXT: H the parameters which may be set with a .OPTIONS line and the
  2741. TEXT: H format of the 'set' command.  Any combination of the follow-
  2742. TEXT: H ing  options  may  be  included,  in any order.  'x' (below)
  2743. TEXT: H represents some positive number.
  2744. TEXT: H
  2745. TEXT: H option         effect
  2746. TEXT: H
  2747. TEXT: H ABSTOL=x       resets the absolute current error tolerance of the
  2748. TEXT: H                program.
  2749. TEXT: H                The default value is 1 picoamp.
  2750. TEXT: H BADMOS3        Use the older version of the MOS3 model with the "kappa"
  2751. TEXT: H                discontinuity.
  2752. TEXT: H CHGTOL=x       resets the charge tolerance of the program.  The default
  2753. TEXT: H                value is 1.0e-14.
  2754. TEXT: H DEFAD=x        resets the value for MOS drain diffusion area; the
  2755. TEXT: H                default is 0.0.
  2756. TEXT: H DEFAS=x        resets the value for MOS source diffusion area; the
  2757. TEXT: H                default is 0.0.
  2758. TEXT: H DEFL=x         resets the value for MOS channel length; the default
  2759. TEXT: H                is 100.0 micrometer.
  2760. TEXT: H DEFW=x         resets the value for MOS channel width; the default
  2761. TEXT: H                is 100.0 micrometer.
  2762. TEXT: H GMIN=x         resets the value of GMIN, the minimum conductance
  2763. TEXT: H                allowed by the program.
  2764. TEXT: H                The default value is 1.0e-12.
  2765. TEXT: H ITL1=x         resets the dc iteration limit.  The default is 100.
  2766. TEXT: H ITL2=x         resets the dc transfer curve iteration limit.  The
  2767. TEXT: H                default is 50.
  2768. TEXT: H ITL3=x         resets the lower transient analysis iteration limit.
  2769. TEXT: H                the default value is 4.  (Note: not implemented in Spice3).
  2770. TEXT: H ITL4=x         resets the transient analysis timepoint iteration limit.
  2771. TEXT: H                the default is 10.
  2772. TEXT: H ITL5=x         resets the transient analysis total iteration limit.
  2773. TEXT: H                the default is 5000.  Set ITL5=0 to omit this test.
  2774. TEXT: H                (Note: not implemented in Spice3).
  2775. TEXT: H KEEPOPINFO     Retain the operating point information when either an
  2776. TEXT: H                AC, Distortion, or Pole-Zero analysis is run.
  2777. TEXT: H                This is particularly useful if the circuit is large
  2778. TEXT: H                and you do not want to run a (redundant) ".OP" analysis.
  2779. TEXT: H METHOD=name    sets the numerical integration method used by SPICE.
  2780. TEXT: H                Possible names are "Gear" or "trapezoidal" (or just "trap").
  2781. TEXT: H                The default is trapezoidal.
  2782. TEXT: H PIVREL=x       resets the relative ratio between the largest column entry
  2783. TEXT: H                and an acceptable pivot value. The default value is 1.0e-3.
  2784. TEXT: H                In the numerical pivoting algorithm the allowed minimum
  2785. TEXT: H                pivot value is determined by
  2786. TEXT: H                EPSREL=AMAX1(PIVREL*MAXVAL, PIVTOL)
  2787. TEXT: H                where MAXVAL is the maximum element in the column where
  2788. TEXT: H                a pivot is sought (partial pivoting).
  2789. TEXT: H PIVTOL=x       resets the absolute minimum value for a matrix entry
  2790. TEXT: H                to be accepted as a pivot.  The default value is 1.0e-13.
  2791. TEXT: H RELTOL=x       resets the relative error tolerance of the program.
  2792. TEXT: H                The
  2793. TEXT: H                default value is 0.001 (0.1%).
  2794. TEXT: H TEMP=x         Resets the operating temperature of the circuit.  The
  2795. TEXT: H                default value is 27 deg C (300 deg K).  TEMP can be overridden
  2796. TEXT: H                by a temperature specification on any temperature dependent
  2797. TEXT: H                instance.
  2798. TEXT: H TNOM=x         resets the nominal temperature at which device parameters
  2799. TEXT: H                are measured.  The default value is 27 deg C (300 deg K).
  2800. TEXT: H                TNOM can be overridden by a specification on any temperature
  2801. TEXT: H                dependent device model.
  2802. TEXT: H TRTOL=x        resets the transient error tolerance.  The default value
  2803. TEXT: H                is 7.0.  This parameter is an estimate of the factor by
  2804. TEXT: H                which SPICE overestimates the actual truncation error.
  2805. TEXT: H TRYTOCOMPACT   Applicable only to the LTRA model.
  2806. TEXT: H                When specified, the simulator tries to condense LTRA transmission
  2807. TEXT: H                lines' past history of input voltages and currents.
  2808. TEXT: H VNTOL=x        resets the absolute voltage error tolerance of the
  2809. TEXT: H                program.  The default value is 1 microvolt.
  2810. TEXT: H
  2811. TEXT: H
  2812. TEXT: H      In addition, the  following  options  have  the  listed
  2813. TEXT: H effect when operating in spice2 emulation mode:
  2814. TEXT: H
  2815. TEXT: H option   effect
  2816. TEXT: H
  2817. TEXT: H option   effect
  2818. TEXT: H ACCT     causes accounting and run time statistics to be printed
  2819. TEXT: H LIST     causes the summary listing of the input data to be printed
  2820. TEXT: H NOMOD    suppresses the printout of the model parameters
  2821. TEXT: H NOPAGE   suppresses page ejects
  2822. TEXT: H NODE     causes the printing of the node table.
  2823. TEXT: H OPTS     causes the option values to be printed.
  2824. TEXT: H
  2825. TEXT: H
  2826.  
  2827. SUBJECT: INITIAL CONDITIONS
  2828. TITLE: INITIAL CONDITIONS
  2829. TEXT: H
  2830. TEXT: H _4._2.  _I_N_I_T_I_A_L _C_O_N_D_I_T_I_O_N_S
  2831. TEXT: H
  2832. SUBTOPIC: SPICE:.NODESET
  2833. SUBTOPIC: SPICE:.IC
  2834.  
  2835. SUBJECT: .NODESET
  2836. TITLE: .NODESET:  Specify Initial Node Voltage Guesses
  2837. TEXT: H
  2838. TEXT: H _4._2._1.  ._N_O_D_E_S_E_T:  _S_p_e_c_i_f_y _I_n_i_t_i_a_l _N_o_d_e _V_o_l_t_a_g_e _G_u_e_s_s_e_s
  2839. TEXT: H
  2840. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  2841. TEXT: H
  2842. TEXT: H     .NODESET V(NODNUM)=VAL V(NODNUM)=VAL ...
  2843. TEXT: H
  2844. TEXT: H
  2845. TEXT: H _E_x_a_m_p_l_e_s:
  2846. TEXT: H
  2847. TEXT: H     .NODESET V(12)=4.5 V(4)=2.23
  2848. TEXT: H
  2849. TEXT: H
  2850. TEXT: H
  2851. TEXT: H      The Nodeset line helps the program find the dc or  ini-
  2852. TEXT: H tial  transient  solution  by making a preliminary pass with
  2853. TEXT: H the specified nodes held to the given  voltages.   The  res-
  2854. TEXT: H triction is then released and the iteration continues to the
  2855. TEXT: H true solution.  The .NODESET line may be necessary for  con-
  2856. TEXT: H vergence on bistable or a-stable circuits.  In general, this
  2857. TEXT: H line should not be necessary.
  2858. TEXT: H
  2859. TEXT: H
  2860.  
  2861. SUBJECT: .IC
  2862. TITLE: .IC:  Set Initial Conditions
  2863. TEXT: H
  2864. TEXT: H _4._2._2.  ._I_C:  _S_e_t _I_n_i_t_i_a_l _C_o_n_d_i_t_i_o_n_s
  2865. TEXT: H
  2866. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  2867. TEXT: H
  2868. TEXT: H     .IC V(NODNUM)=VAL V(NODNUM)=VAL ...
  2869. TEXT: H
  2870. TEXT: H
  2871. TEXT: H _E_x_a_m_p_l_e_s:
  2872. TEXT: H
  2873. TEXT: H     .IC V(11)=5 V(4)=-5 V(2)=2.2
  2874. TEXT: H
  2875. TEXT: H
  2876. TEXT: H
  2877. TEXT: H      The IC line is for  setting  transient  initial  condi-
  2878. TEXT: H tions.   It  has two different interpretations, depending on
  2879. TEXT: H whether the UIC parameter is specified on the .TRAN  control
  2880. TEXT: H line.   Also,  one  should  not  confuse  this line with the
  2881. TEXT: H .NODESET line.  The .NODESET line is only to help dc conver-
  2882. TEXT: H gence,  and  does not affect final bias solution (except for
  2883. TEXT: H multi-stable circuits).  The  two  interpretations  of  this
  2884. TEXT: H line are as follows:
  2885. TEXT: H
  2886. TEXT: H  1.  When the UIC parameter is specified on the .TRAN  line,
  2887. TEXT: H then the node voltages specified on the .IC control line are
  2888. TEXT: H used to compute the capacitor, diode, BJT, JFET, and  MOSFET
  2889. TEXT: H initial  conditions.   This  is equivalent to specifying the
  2890. TEXT: H IC=... parameter on each device line, but is much more  con-
  2891. TEXT: H venient.   The  IC=...  parameter can still be specified and
  2892. TEXT: H takes precedence over the .IC  values.   Since  no  dc  bias
  2893. TEXT: H (initial  transient)  solution  is computed before the tran-
  2894. TEXT: H sient analysis, one should  take  care  to  specify  all  dc
  2895. TEXT: H source  voltages  on  the .IC control line if they are to be
  2896. TEXT: H used to compute device initial conditions.
  2897. TEXT: H
  2898. TEXT: H  2.  When the UIC parameter is not specified  on  the  .TRAN
  2899. TEXT: H control  line,  the  dc bias (initial transient) solution is
  2900. TEXT: H computed before the transient analysis.  In this  case,  the
  2901. TEXT: H node voltages specified on the .IC control line is forced to
  2902. TEXT: H the desired initial values during the bias solution.  During
  2903. TEXT: H transient analysis, the constraint on these node voltages is
  2904. TEXT: H removed.  This is the preferred method since it allows SPICE
  2905. TEXT: H to compute a consistent dc solution.
  2906. TEXT: H
  2907.  
  2908. SUBJECT: ANALYSES
  2909. TITLE: ANALYSES
  2910. TEXT: H
  2911. TEXT: H _4._3.  _A_N_A_L_Y_S_E_S
  2912. TEXT: H
  2913. TEXT: H
  2914. SUBTOPIC: SPICE:.AC
  2915. SUBTOPIC: SPICE:.DC
  2916. SUBTOPIC: SPICE:.DISTO
  2917. SUBTOPIC: SPICE:.NOISE
  2918. SUBTOPIC: SPICE:.OP
  2919. SUBTOPIC: SPICE:.PZ
  2920. SUBTOPIC: SPICE:.SENS
  2921. SUBTOPIC: SPICE:.TF
  2922. SUBTOPIC: SPICE:.TRAN
  2923.  
  2924. SUBJECT: .AC
  2925. TITLE: .AC:  Small-Signal AC Analysis
  2926. TEXT: H
  2927. TEXT: H _4._3._1.  ._A_C:  _S_m_a_l_l-_S_i_g_n_a_l _A_C _A_n_a_l_y_s_i_s
  2928. TEXT: H
  2929. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  2930. TEXT: H
  2931. TEXT: H     .AC DEC ND FSTART FSTOP
  2932. TEXT: H     .AC OCT NO FSTART FSTOP
  2933. TEXT: H     .AC LIN NP FSTART FSTOP
  2934. TEXT: H
  2935. TEXT: H
  2936. TEXT: H _E_x_a_m_p_l_e_s:
  2937. TEXT: H
  2938. TEXT: H     .AC DEC 10 1 10K
  2939. TEXT: H     .AC DEC 10 1K 100MEG
  2940. TEXT: H     .AC LIN 100 1 100HZ
  2941. TEXT: H
  2942. TEXT: H
  2943. TEXT: H
  2944. TEXT: H
  2945. TEXT: H      DEC stands for decade variation, and ND is  the  number
  2946. TEXT: H of  points per decade.  OCT stands for octave variation, and
  2947. TEXT: H NO is the number of  points  per  octave.   LIN  stands  for
  2948. TEXT: H linear variation, and NP is the number of points.  FSTART is
  2949. TEXT: H the starting frequency, and FSTOP is  the  final  frequency.
  2950. TEXT: H If  this  line is included in the input file, SPICE performs
  2951. TEXT: H an AC analysis of the circuit over the  specified  frequency
  2952. TEXT: H range.   Note that in order for this analysis to be meaning-
  2953. TEXT: H ful, at least one independent source must have  been  speci-
  2954. TEXT: H fied with an ac value.
  2955. TEXT: H
  2956. TEXT: H
  2957.  
  2958. SUBJECT: .DC
  2959. TITLE: .DC:  DC Transfer Function
  2960. TEXT: H
  2961. TEXT: H _4._3._2.  ._D_C:  _D_C _T_r_a_n_s_f_e_r _F_u_n_c_t_i_o_n
  2962. TEXT: H
  2963. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  2964. TEXT: H
  2965. TEXT: H     .DC SRCNAM VSTART VSTOP VINCR [SRC2 START2 STOP2 INCR2]
  2966. TEXT: H
  2967. TEXT: H
  2968. TEXT: H _E_x_a_m_p_l_e_s:
  2969. TEXT: H
  2970. TEXT: H     .DC VIN 0.25 5.0 0.25
  2971. TEXT: H     .DC VDS 0 10 .5 VGS 0 5 1
  2972. TEXT: H     .DC VCE 0 10 .25 IB 0 10U 1U
  2973. TEXT: H
  2974. TEXT: H
  2975. TEXT: H
  2976. TEXT: H      The DC line defines the dc transfer  curve  source  and
  2977. TEXT: H sweep  limits  (again  with  capacitors  open  and inductors
  2978. TEXT: H shorted).  SRCNAM is the name of an independent  voltage  or
  2979. TEXT: H current  source.  VSTART, VSTOP, and VINCR are the starting,
  2980. TEXT: H final, and  incrementing  values  respectively.   The  first
  2981. TEXT: H example  causes  the  value  of the voltage source VIN to be
  2982. TEXT: H swept from 0.25 Volts to 5.0 Volts  in  increments  of  0.25
  2983. TEXT: H Volts.   A  second source (SRC2) may optionally be specified
  2984. TEXT: H with associated sweep parameters.  In this case,  the  first
  2985. TEXT: H source  is swept over its range for each value of the second
  2986. TEXT: H source.  This option can be useful for obtaining semiconduc-
  2987. TEXT: H tor  device  output characteristics.  See the second example
  2988. TEXT: H circuit description in Appendix A.
  2989. TEXT: H
  2990. TEXT: H
  2991.  
  2992. SUBJECT: .DISTO
  2993. TITLE: .DISTO:  Distortion Analysis
  2994. TEXT: H
  2995. TEXT: H _4._3._3.  ._D_I_S_T_O:  _D_i_s_t_o_r_t_i_o_n _A_n_a_l_y_s_i_s
  2996. TEXT: H
  2997. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  2998. TEXT: H
  2999. TEXT: H     .DISTO DEC ND FSTART FSTOP <F2OVERF1>
  3000. TEXT: H     .DISTO OCT NO FSTART FSTOP <F2OVERF1>
  3001. TEXT: H     .DISTO LIN NP FSTART FSTOP <F2OVERF1>
  3002. TEXT: H
  3003. TEXT: H
  3004. TEXT: H _E_x_a_m_p_l_e_s:
  3005. TEXT: H
  3006. TEXT: H     .DISTO DEC 10 1kHz 100Mhz
  3007. TEXT: H     .DISTO DEC 10 1kHz 100Mhz 0.9
  3008. TEXT: H
  3009. TEXT: H
  3010. TEXT: H
  3011. TEXT: H
  3012. TEXT: H      The Disto line does a small-signal distortion  analysis
  3013. TEXT: H of   the   circuit.   A  multi-dimensional  Volterra  series
  3014. TEXT: H analysis is done using multi-dimensional  Taylor  series  to
  3015. TEXT: H represent  the nonlinearities at the operating point.  Terms
  3016. TEXT: H of up to third order are used in the series expansions.
  3017. TEXT: H
  3018. TEXT: H      If the optional parameter F2OVERF1  is  not  specified,
  3019. TEXT: H .DISTO  does a harmonic analysis - i.e., it analyses distor-
  3020. TEXT: H tion in the circuit using only a single input frequency  F1,
  3021. TEXT: H which  is swept as specified by arguments of the .DISTO com-
  3022. TEXT: H mand exactly as in the .AC command.   Inputs  at  this  fre-
  3023. TEXT: H quency  may  be  present  at more than one input source, and
  3024. TEXT: H their magnitudes and phases are specified by  the  arguments
  3025. TEXT: H of the DISTOF1 keyword in the input file lines for the input
  3026. TEXT: H sources (see the description for independent sources).  (The
  3027. TEXT: H arguments  of  the  DISTOF2 keyword are not relevant in this
  3028. TEXT: H case).  The analysis produces  information  about  the  A.C.
  3029. TEXT: H values  of all node voltages and branch currents at the har-
  3030. TEXT: H monic frequencies 2F1 and 3F1, vs. the input frequency F1 as
  3031. TEXT: H it is swept.  (A value of 1 (as a complex distortion output)
  3032. TEXT: H signifies cos(2J(2F1)t) at 2F1  and  cos(2J(3F1)t)  at  3F1,
  3033. TEXT: H using  the  convention  that 1 at the input fundamental fre-
  3034. TEXT: H quency is equivalent to  cos(2JF1t).)  The  distortion  com-
  3035. TEXT: H ponent  desired  (2F1 or 3F1) can be selected using commands
  3036. TEXT: H in nutmeg, and then printed or plotted.  (Normally,  one  is
  3037. TEXT: H interested  primarily  in the magnitude of the harmonic com-
  3038. TEXT: H ponents, so the magnitude of  the  AC  distortion  value  is
  3039. TEXT: H looked  at).   It  should  be  noted that these are the A.C.
  3040. TEXT: H values of the actual harmonic components, and are not  equal
  3041. TEXT: H to  HD2  and HD3.  To obtain HD2 and HD3, one must divide by
  3042. TEXT: H the corresponding A.C. values at F1, obtained  from  an  .AC
  3043. TEXT: H line.  This division can be done using nutmeg commands.
  3044. TEXT: H
  3045. TEXT: H      If the optional F2OVERF1  parameter  is  specified,  it
  3046. TEXT: H should  be  a real number between (and not equal to) 0.0 and
  3047. TEXT: H 1.0; in this case, .DISTO does a spectral analysis.  It con-
  3048. TEXT: H siders  the  circuit with sinusoidal inputs at two different
  3049. TEXT: H frequencies F1 and F2.  F1 is swept according to the  .DISTO
  3050. TEXT: H control line options exactly as in the .AC control line.  F2
  3051. TEXT: H is kept fixed at a single frequency as F1 sweeps - the value
  3052. TEXT: H at which it is kept fixed is equal to F2OVERF1 times FSTART.
  3053. TEXT: H Each independent source in the circuit may potentially  have
  3054. TEXT: H two  (superimposed) sinusoidal inputs for distortion, at the
  3055. TEXT: H frequencies F1 and F2.  The magnitude and phase  of  the  F1
  3056. TEXT: H component are specified by the arguments of the DISTOF1 key-
  3057. TEXT: H word in the source's input  line  (see  the  description  of
  3058. TEXT: H independent sources); the magnitude and phase of the F2 com-
  3059. TEXT: H ponent are specified by the arguments of  the  DISTOF2  key-
  3060. TEXT: H word.    The   analysis   produces   plots   of   all   node
  3061. TEXT: H voltages/branch currents at the intermodulation product fre-
  3062. TEXT: H quencies  F1  +  F2,  F1 - F2, and (2 F1) - F2, vs the swept
  3063. TEXT: H frequency F1.  The IM product of interest  may  be  selected
  3064. TEXT: H using  the setplot command, and displayed with the print and
  3065. TEXT: H plot commands.  It  is  to  be  noted  as  in  the  harmonic
  3066. TEXT: H analysis  case,  the  results are the actual AC voltages and
  3067. TEXT: H currents at the intermodulation frequencies, and need to  be
  3068. TEXT: H normalized  with  respect  to  .AC  values  to obtain the IM
  3069. TEXT: H parameters.
  3070. TEXT: H
  3071. TEXT: H      If the DISTOF1 or DISTOF2 keywords are missing from the
  3072. TEXT: H description  of  an  independent source, then that source is
  3073. TEXT: H assumed to have no input  at  the  corresponding  frequency.
  3074. TEXT: H The  default  values  of the magnitude and phase are 1.0 and
  3075. TEXT: H 0.0 respectively.  The phase should be specified in degrees.
  3076. TEXT: H
  3077. TEXT: H      It should be carefully noted that the  number  F2OVERF1
  3078. TEXT: H should  ideally be an irrational number, and that since this
  3079. TEXT: H is not possible in practice, efforts should be made to  keep
  3080. TEXT: H the denominator in its fractional representation as large as
  3081. TEXT: H possible, certainly above 3, for accurate results (i.e.,  if
  3082. TEXT: H F2OVERF1 is represented as a fraction A/B, where A and B are
  3083. TEXT: H integers with no common factors, B should  be  as  large  as
  3084. TEXT: H possible; note that A < B because F2OVERF1 is constrained to
  3085. TEXT: H be < 1).   To  illustrate  why,  consider  the  cases  where
  3086. TEXT: H F2OVERF1  is  49/100  and  1/2.  In a spectral analysis, the
  3087. TEXT: H outputs produced are at F1 + F2, F1 - F2 and 2 F1 - F2.   In
  3088. TEXT: H the  latter  case,  F1 - F2 = F2, so the result at the F1-F2
  3089. TEXT: H component is erroneous because there is the strong fundamen-
  3090. TEXT: H tal  F2  component at the same frequency.  Also, F1 + F2 = 2
  3091. TEXT: H F1 - F2 in the latter case, and  each  result  is  erroneous
  3092. TEXT: H individually.   This  problem is not there in the case where
  3093. TEXT: H F2OVERF1 = 49/100, because F1-F2 = 51/100 F1 < > 49/100 F1 =
  3094. TEXT: H F2.   In  this  case, there are two very closely spaced fre-
  3095. TEXT: H quency components at F2 and F1 - F2.  One of the  advantages
  3096. TEXT: H of the Volterra series technique is that it computes distor-
  3097. TEXT: H tions at mix frequencies expressed symbolically (i.e. n F1 +
  3098. TEXT: H m F2), therefore one is able to obtain the strengths of dis-
  3099. TEXT: H tortion components accurately even if the separation between
  3100. TEXT: H them  is  very  small,  as opposed to transient analysis for
  3101. TEXT: H example.  The disadvantage is of course that if two  of  the
  3102. TEXT: H mix   frequencies  coincide,  the  results  are  not  merged
  3103. TEXT: H together and presented (though this could presumably be done
  3104. TEXT: H as  a  postprocessing step).  Currently, the interested user
  3105. TEXT: H should keep track of the mix frequencies himself or  herself
  3106. TEXT: H and  add  the  distortions  at  coinciding  mix  frequencies
  3107. TEXT: H together should it be necessary.
  3108. TEXT: H
  3109. TEXT: H
  3110.  
  3111. SUBJECT: .NOISE
  3112. TITLE: .NOISE:  Noise Analysis
  3113. TEXT: H
  3114. TEXT: H _4._3._4.  ._N_O_I_S_E:  _N_o_i_s_e _A_n_a_l_y_s_i_s
  3115. TEXT: H
  3116. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  3117. TEXT: H
  3118. TEXT: H     .NOISE V(OUTPUT <,REF>) SRC ( DEC | LIN | OCT ) PTS FSTART FSTOP
  3119. TEXT: H     + <PTS_PER_SUMMARY>
  3120. TEXT: H
  3121. TEXT: H
  3122. TEXT: H _E_x_a_m_p_l_e_s:
  3123. TEXT: H
  3124. TEXT: H     .NOISE V(5) VIN DEC 10 1kHZ 100Mhz
  3125. TEXT: H     .NOISE V(5,3) V1 OCT 8 1.0 1.0e6 1
  3126. TEXT: H
  3127. TEXT: H
  3128. TEXT: H
  3129. TEXT: H      The Noise line does a noise analysis  of  the  circuit.
  3130. TEXT: H OUTPUT  is  the  node  at  which  the  total output noise is
  3131. TEXT: H desired;  if  REF  is  specified,  then  the  noise  voltage
  3132. TEXT: H V(OUTPUT)  -  V(REF)  is  calculated.   By  default,  REF is
  3133. TEXT: H assumed to be ground.  SRC is the  name  of  an  independent
  3134. TEXT: H source  to  which  input noise is referred.  PTS, FSTART and
  3135. TEXT: H FSTOP are .AC type parameters  that  specify  the  frequency
  3136. TEXT: H range  over  which plots are desired.  PTS_PER_SUMMARY is an
  3137. TEXT: H optional integer; if specified, the noise  contributions  of
  3138. TEXT: H each  noise generator is produced every PTS_PER_SUMMARY fre-
  3139. TEXT: H quency points.
  3140. TEXT: H
  3141. TEXT: H      The .NOISE control line produces two plots  -  one  for
  3142. TEXT: H the  Noise  Spectral  Density  curves  and one for the total
  3143. TEXT: H Integrated Noise over the specified  frequency  range.   All
  3144. TEXT: H                                                     2
  3145. TEXT: H noise  voltages/currents  are  in  squared  units (V /Hz and
  3146. TEXT: H  2                           2      2
  3147. TEXT: H A /Hz for spectral density, V  and A  for integrated noise).
  3148. TEXT: H
  3149.  
  3150. SUBJECT: .OP
  3151. TITLE: .OP:  Operating Point Analysis
  3152. TEXT: H
  3153. TEXT: H _4._3._5.  ._O_P:  _O_p_e_r_a_t_i_n_g _P_o_i_n_t _A_n_a_l_y_s_i_s
  3154. TEXT: H
  3155. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  3156. TEXT: H
  3157. TEXT: H     .OP
  3158. TEXT: H
  3159. TEXT: H
  3160. TEXT: H
  3161. TEXT: H      The inclusion of this line in  an  input  file  directs
  3162. TEXT: H SPICE  to  determine  the  dc operating point of the circuit
  3163. TEXT: H with inductors shorted and capacitors opened.  Note:   a  DC
  3164. TEXT: H analysis  is  automatically  performed  prior to a transient
  3165. TEXT: H analysis to determine the transient initial conditions,  and
  3166. TEXT: H prior  to  an AC small-signal, Noise, and Pole-Zero analysis
  3167. TEXT: H to determine the linearized, small-signal  models  for  non-
  3168. TEXT: H linear devices (see the KEEPOPINFO variable above).
  3169. TEXT: H
  3170. TEXT: H
  3171.  
  3172. SUBJECT: .PZ
  3173. TITLE: .PZ:  Pole-Zero Analysis
  3174. TEXT: H
  3175. TEXT: H _4._3._6.  ._P_Z:  _P_o_l_e-_Z_e_r_o _A_n_a_l_y_s_i_s
  3176. TEXT: H
  3177. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  3178. TEXT: H
  3179. TEXT: H     .PZ NODE1 NODE2 NODE3 NODE4 CUR POL
  3180. TEXT: H     .PZ NODE1 NODE2 NODE3 NODE4 CUR ZER
  3181. TEXT: H     .PZ NODE1 NODE2 NODE3 NODE4 CUR PZ
  3182. TEXT: H     .PZ NODE1 NODE2 NODE3 NODE4 VOL POL
  3183. TEXT: H     .PZ NODE1 NODE2 NODE3 NODE4 VOL ZER
  3184. TEXT: H     .PZ NODE1 NODE2 NODE3 NODE4 VOL PZ
  3185. TEXT: H
  3186. TEXT: H
  3187. TEXT: H _E_x_a_m_p_l_e_s:
  3188. TEXT: H
  3189. TEXT: H     .PZ 1 0 3 0 CUR POL
  3190. TEXT: H     .PZ 2 3 5 0 VOL ZER
  3191. TEXT: H     .PZ 4 1 4 1 CUR PZ
  3192. TEXT: H
  3193. TEXT: H
  3194. TEXT: H
  3195. TEXT: H
  3196. TEXT: H      CUR stands for a transfer function of the type  (output
  3197. TEXT: H voltage)/(input  current)  while  VOL  stands for a transfer
  3198. TEXT: H function of the type (output voltage)/(input voltage).   POL
  3199. TEXT: H stands  for  pole  analysis only, ZER for zero analysis only
  3200. TEXT: H and PZ for both.  This feature is provided mainly because if
  3201. TEXT: H there  is  a nonconvergence in finding poles or zeros, then,
  3202. TEXT: H at least the other can be found.  Finally, NODE1  and  NODE2
  3203. TEXT: H are the two input nodes and NODE3 and NODE4 are the two out-
  3204. TEXT: H put nodes.  Thus, there is complete  freedom  regarding  the
  3205. TEXT: H output and input ports and the type of transfer function.
  3206. TEXT: H
  3207. TEXT: H      In interactive mode, the command  syntax  is  the  same
  3208. TEXT: H except  that the first field is PZ instead of .PZ.  To print
  3209. TEXT: H the results, one should use the command 'print all'.
  3210. TEXT: H
  3211. TEXT: H
  3212.  
  3213. SUBJECT: .SENS
  3214. TITLE: .SENS:  DC or Small-Signal AC Sensitivity Analysis
  3215. TEXT: H
  3216. TEXT: H _4._3._7.  ._S_E_N_S:  _D_C _o_r _S_m_a_l_l-_S_i_g_n_a_l _A_C _S_e_n_s_i_t_i_v_i_t_y _A_n_a_l_y_s_i_s
  3217. TEXT: H
  3218. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  3219. TEXT: H
  3220. TEXT: H     .SENS OUTVAR
  3221. TEXT: H     .SENS OUTVAR AC DEC ND FSTART FSTOP
  3222. TEXT: H     .SENS OUTVAR AC OCT NO FSTART FSTOP
  3223. TEXT: H     .SENS OUTVAR AC LIN NP FSTART FSTOP
  3224. TEXT: H
  3225. TEXT: H
  3226. TEXT: H _E_x_a_m_p_l_e_s:
  3227. TEXT: H
  3228. TEXT: H     .SENS V(1,OUT)
  3229. TEXT: H     .SENS V(OUT) AC DEC 10 100 100k
  3230. TEXT: H     .SENS I(VTEST)
  3231. TEXT: H
  3232. TEXT: H
  3233. TEXT: H
  3234. TEXT: H
  3235. TEXT: H      The sensitivity of OUTVAR to all non-zero device param-
  3236. TEXT: H eters  is  calculated  when  the SENS analysis is specified.
  3237. TEXT: H OUTVAR is a circuit variable (node voltage or voltage-source
  3238. TEXT: H branch  current).   The first form calculates sensitivity of
  3239. TEXT: H the DC operating-point value of  OUTVAR.   The  second  form
  3240. TEXT: H calculates  sensitivity  of  the  AC  values of OUTVAR.  The
  3241. TEXT: H parameters listed for AC sensitivity are the same as  in  an
  3242. TEXT: H AC  analysis  (see  ".AC"  above).  The output values are in
  3243. TEXT: H dimensions of change in output per unit change of input  (as
  3244. TEXT: H opposed to percent change in output or per percent change of
  3245. TEXT: H input).
  3246. TEXT: H
  3247. TEXT: H
  3248.  
  3249. SUBJECT: .TF
  3250. TITLE: .TF:  Transfer Function Analysis
  3251. TEXT: H
  3252. TEXT: H _4._3._8.  ._T_F:  _T_r_a_n_s_f_e_r _F_u_n_c_t_i_o_n _A_n_a_l_y_s_i_s
  3253. TEXT: H
  3254. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  3255. TEXT: H
  3256. TEXT: H     .TF OUTVAR INSRC
  3257. TEXT: H
  3258. TEXT: H
  3259. TEXT: H _E_x_a_m_p_l_e_s:
  3260. TEXT: H
  3261. TEXT: H     .TF V(5, 3) VIN
  3262. TEXT: H     .TF I(VLOAD) VIN
  3263. TEXT: H
  3264. TEXT: H
  3265. TEXT: H
  3266. TEXT: H      The TF line defines the small-signal output  and  input
  3267. TEXT: H for  the  dc  small-signal  analysis.   OUTVAR is the small-
  3268. TEXT: H signal output variable and INSRC is the  small-signal  input
  3269. TEXT: H source.   If  this  line  is included, SPICE computes the dc
  3270. TEXT: H small-signal value of the transfer function  (output/input),
  3271. TEXT: H input  resistance,  and  output  resistance.   For the first
  3272. TEXT: H example, SPICE would compute the ratio of V(5,  3)  to  VIN,
  3273. TEXT: H the  small-signal  input  resistance  at VIN, and the small-
  3274. TEXT: H signal output resistance measured across nodes 5 and 3.
  3275. TEXT: H
  3276. TEXT: H
  3277.  
  3278. SUBJECT: .TRAN
  3279. TITLE: .TRAN:  Transient Analysis
  3280. TEXT: H
  3281. TEXT: H _4._3._9.  ._T_R_A_N:  _T_r_a_n_s_i_e_n_t _A_n_a_l_y_s_i_s
  3282. TEXT: H
  3283. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  3284. TEXT: H
  3285. TEXT: H     .TRAN TSTEP TSTOP <TSTART <TMAX>>
  3286. TEXT: H
  3287. TEXT: H
  3288. TEXT: H _E_x_a_m_p_l_e_s:
  3289. TEXT: H
  3290. TEXT: H     .TRAN 1NS 100NS
  3291. TEXT: H     .TRAN 1NS 1000NS 500NS
  3292. TEXT: H     .TRAN 10NS 1US
  3293. TEXT: H
  3294. TEXT: H
  3295. TEXT: H
  3296. TEXT: H      TSTEP is the printing or plotting increment  for  line-
  3297. TEXT: H printer  output.   For use with the post-processor, TSTEP is
  3298. TEXT: H the suggested computing increment.  TSTOP is the final time,
  3299. TEXT: H and TSTART is the initial time.  If TSTART is omitted, it is
  3300. TEXT: H assumed to be zero.  The transient analysis always begins at
  3301. TEXT: H time  zero.   In the interval <zero, TSTART>, the circuit is
  3302. TEXT: H analyzed (to reach a  steady  state),  but  no  outputs  are
  3303. TEXT: H stored.   In  the  interval  <TSTART, TSTOP>, the circuit is
  3304. TEXT: H analyzed and outputs are stored.  TMAX is the maximum  step-
  3305. TEXT: H size  that  SPICE  uses;  for  default,  the program chooses
  3306. TEXT: H either TSTEP or (TSTOP-TSTART)/50.0, whichever  is  smaller.
  3307. TEXT: H TMAX  is  useful  when  one  wishes to guarantee a computing
  3308. TEXT: H interval which is smaller than the printer increment, TSTEP.
  3309. TEXT: H
  3310. TEXT: H      UIC (use initial conditions)  is  an  optional  keyword
  3311. TEXT: H which  indicates  that the user does not want SPICE to solve
  3312. TEXT: H for the quiescent operating point before beginning the tran-
  3313. TEXT: H sient  analysis.   If  this keyword is specified, SPICE uses
  3314. TEXT: H the values specified using IC=... on the various elements as
  3315. TEXT: H the  initial  transient  condition  and  proceeds  with  the
  3316. TEXT: H analysis.  If the .IC control line has been specified,  then
  3317. TEXT: H the  node  voltages  on the .IC line are used to compute the
  3318. TEXT: H initial conditions for the devices.  Look at the description
  3319. TEXT: H on  the  .IC control line for its interpretation when UIC is
  3320. TEXT: H not specified.
  3321. TEXT: H
  3322.  
  3323. SUBJECT: BATCH OUTPUT
  3324. TITLE: BATCH OUTPUT
  3325. TEXT: H
  3326. TEXT: H _4._4.  _B_A_T_C_H _O_U_T_P_U_T
  3327. TEXT: H
  3328. TEXT: H
  3329. SUBTOPIC: SPICE:.SAVE Lines
  3330. SUBTOPIC: SPICE:.PRINT Lines
  3331. SUBTOPIC: SPICE:.PLOT Lines
  3332. SUBTOPIC: SPICE:.FOUR
  3333.  
  3334. SUBJECT: .SAVE Lines
  3335. TITLE: .SAVE Lines
  3336. TEXT: H
  3337. TEXT: H _4._4._1.  ._S_A_V_E _L_i_n_e_s
  3338. TEXT: H
  3339. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  3340. TEXT: H
  3341. TEXT: H     .SAVE _v_e_c_t_o_r _v_e_c_t_o_r _v_e_c_t_o_r ...
  3342. TEXT: H
  3343. TEXT: H
  3344. TEXT: H _E_x_a_m_p_l_e_s:
  3345. TEXT: H
  3346. TEXT: H     .SAVE i(vin) input output
  3347. TEXT: H     .SAVE @m1[id]
  3348. TEXT: H
  3349. TEXT: H
  3350. TEXT: H
  3351. TEXT: H      The vectors listed on the .SAVE line  are  recorded  in
  3352. TEXT: H the  rawfile  for use later with spice3 or nutmeg (nutmeg is
  3353. TEXT: H just the data-analysis half of spice3, without  the  ability
  3354. TEXT: H to  simulate).   The standard vector names are accepted.  If
  3355. TEXT: H no .SAVE line is given, then the default set of vectors  are
  3356. TEXT: H saved  (node  voltages  and voltage source branch currents).
  3357. TEXT: H If .SAVE lines are given, only those vectors  specified  are
  3358. TEXT: H saved.   For  more  discussion  on internal device data, see
  3359. TEXT: H Appendix B.  See also the section on the interactive command
  3360. TEXT: H interpretor for information on how to use the rawfile.
  3361. TEXT: H
  3362.  
  3363. SUBJECT: .PRINT Lines
  3364. TITLE: .PRINT Lines
  3365. TEXT: H
  3366. TEXT: H _4._4._2.  ._P_R_I_N_T _L_i_n_e_s
  3367. TEXT: H
  3368. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  3369. TEXT: H
  3370. TEXT: H     .PRINT PRTYPE OV1 <OV2 ... OV8>
  3371. TEXT: H
  3372. TEXT: H
  3373. TEXT: H _E_x_a_m_p_l_e_s:
  3374. TEXT: H
  3375. TEXT: H     .PRINT TRAN V(4) I(VIN)
  3376. TEXT: H     .PRINT DC V(2) I(VSRC) V(23, 17)
  3377. TEXT: H     .PRINT AC VM(4, 2) VR(7) VP(8, 3)
  3378. TEXT: H
  3379. TEXT: H
  3380. TEXT: H      The Print line defines the contents of a tabular  list-
  3381. TEXT: H ing of one to eight output variables.  PRTYPE is the type of
  3382. TEXT: H the analysis (DC, AC, TRAN, NOISE, or DISTO) for  which  the
  3383. TEXT: H specified  outputs  are  desired.   The  form for voltage or
  3384. TEXT: H current output variables is the same as given in the  previ-
  3385. TEXT: H ous section for the print command; Spice2 restricts the out-
  3386. TEXT: H put variable to the following forms (though this restriction
  3387. TEXT: H is not enforced by Spice3):
  3388. TEXT: H
  3389. TEXT: H
  3390. TEXT: H V(N1<,N2>)
  3391. TEXT: H           specifies the voltage difference between nodes  N1
  3392. TEXT: H           and  N2.  If N2 (and the preceding comma) is omit-
  3393. TEXT: H           ted, ground (0) is assumed.  See the print command
  3394. TEXT: H           in  the  previous  section  for more details.  For
  3395. TEXT: H           compatibility  with  spice2,  the  following  five
  3396. TEXT: H           additional  values  can  be  accessed  for  the ac
  3397. TEXT: H           analysis by replacing the "V" in V(N1,N2) with:
  3398. TEXT: H
  3399. TEXT: H
  3400. TEXT: H                    VR    -    real part
  3401. TEXT: H                    VI    -    imaginary part
  3402. TEXT: H                    VM    -    magnitude
  3403. TEXT: H                    VP    -    phase
  3404. TEXT: H                    VDB   -    20  log10(magnitude)
  3405. TEXT: H
  3406. TEXT: H
  3407. TEXT: H
  3408. TEXT: H I(VXXXXXXX)
  3409. TEXT: H           specifies the current flowing in  the  independent
  3410. TEXT: H           voltage  source  named VXXXXXXX.  Positive current
  3411. TEXT: H           flows from the positive node, through the  source,
  3412. TEXT: H           to  the  negative  node.  For the ac analysis, the
  3413. TEXT: H           corresponding replacements for the letter I may be
  3414. TEXT: H           made in the same way as described for voltage out-
  3415. TEXT: H           puts.
  3416. TEXT: H
  3417. TEXT: H
  3418. TEXT: H      Output variables for the noise and distortion  analyses
  3419. TEXT: H have  a  different  general form from that of the other ana-
  3420. TEXT: H lyses.
  3421. TEXT: H
  3422. TEXT: H      There is no limit on the number  of  .PRINT  lines  for
  3423. TEXT: H each type of analysis.
  3424. TEXT: H
  3425. TEXT: H
  3426.  
  3427. SUBJECT: .PLOT Lines
  3428. TITLE: .PLOT Lines
  3429. TEXT: H
  3430. TEXT: H _4._4._3.  ._P_L_O_T _L_i_n_e_s
  3431. TEXT: H
  3432. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  3433. TEXT: H
  3434. TEXT: H     .PLOT PLTYPE OV1 <(PLO1, PHI1)> <OV2 <(PLO2, PHI2)> ... OV8>
  3435. TEXT: H
  3436. TEXT: H
  3437. TEXT: H _E_x_a_m_p_l_e_s:
  3438. TEXT: H
  3439. TEXT: H     .PLOT DC V(4) V(5) V(1)
  3440. TEXT: H     .PLOT TRAN V(17, 5) (2, 5) I(VIN) V(17) (1, 9)
  3441. TEXT: H     .PLOT AC VM(5) VM(31, 24) VDB(5) VP(5)
  3442. TEXT: H     .PLOT DISTO HD2 HD3(R) SIM2
  3443. TEXT: H     .PLOT TRAN V(5, 3) V(4) (0, 5) V(7) (0, 10)
  3444. TEXT: H
  3445. TEXT: H
  3446. TEXT: H      The Plot line defines the contents of one  plot  of
  3447. TEXT: H from  one to eight output variables.  PLTYPE is the type
  3448. TEXT: H of analysis (DC, AC, TRAN, NOISE, or  DISTO)  for  which
  3449. TEXT: H the  specified  outputs are desired.  The syntax for the
  3450. TEXT: H OVI is identical to that for the .PRINT line and for the
  3451. TEXT: H plot command in the interactive mode.
  3452. TEXT: H
  3453. TEXT: H
  3454. TEXT: H      The overlap of two or more traces on any plot is  indi-
  3455. TEXT: H cated by the letter X.
  3456. TEXT: H
  3457. TEXT: H      When more than one output variable appears on the  same
  3458. TEXT: H plot,  the  first  variable  specified is printed as well as
  3459. TEXT: H plotted.  If a printout of all variables is desired, then  a
  3460. TEXT: H companion .PRINT line should be included.
  3461. TEXT: H
  3462. TEXT: H      There is no limit on the number of .PLOT  lines  speci-
  3463. TEXT: H fied for each type of analysis.
  3464. TEXT: H
  3465. TEXT: H
  3466.  
  3467. SUBJECT: .FOUR
  3468. TITLE: .FOUR:  Fourier Analysis of Transient Analysis Output
  3469. TEXT: H
  3470. TEXT: H _4._4._4.  ._F_O_U_R:  _F_o_u_r_i_e_r _A_n_a_l_y_s_i_s _o_f _T_r_a_n_s_i_e_n_t _A_n_a_l_y_s_i_s  _O_u_t-
  3471. TEXT: H _p_u_t
  3472. TEXT: H
  3473. TEXT: H _G_e_n_e_r_a_l _f_o_r_m:
  3474. TEXT: H
  3475. TEXT: H     .FOUR FREQ OV1 <OV2 OV3 ...>
  3476. TEXT: H
  3477. TEXT: H
  3478. TEXT: H _E_x_a_m_p_l_e_s:
  3479. TEXT: H
  3480. TEXT: H     .FOUR 100K  V(5)
  3481. TEXT: H
  3482. TEXT: H
  3483. TEXT: H      The Four (or Fourier) line controls  whether  SPICE
  3484. TEXT: H performs  a  Fourier analysis as a part of the transient
  3485. TEXT: H analysis.  FREQ is the fundamental frequency,  and  OV1,
  3486. TEXT: H desired.  The Fourier analysis is performed over the in-
  3487. TEXT: H terval  <TSTOP-period,  TSTOP>, where TSTOP is the final
  3488. TEXT: H time specified for the transient analysis, and period is
  3489. TEXT: H one  period  of  the fundamental frequency.  The dc com-
  3490. TEXT: H ponent and the first nine harmonics are determined.  For
  3491. TEXT: H maximum  accuracy,  TMAX  (see the .TRAN line) should be
  3492. TEXT: H set to period/100.0 (or less for very high-Q circuits).
  3493. TEXT: H
  3494.  
  3495. SUBJECT: INTERACTIVE INTERPRETER
  3496. TITLE: INTERACTIVE INTERPRETER
  3497. TEXT: H
  3498. TEXT: H _5.  _I_N_T_E_R_A_C_T_I_V_E _I_N_T_E_R_P_R_E_T_E_R
  3499. TEXT: H
  3500. TEXT: H      Spice3 consists of a simulator and a front-end for data
  3501. TEXT: H analysis  and  plotting.   The  front-end  may  be  run as a
  3502. TEXT: H separate "stand-alone" program under the name Nutmeg.
  3503. TEXT: H
  3504. TEXT: H      _N_u_t_m_e_g will read in the "raw" data output file  created
  3505. TEXT: H by  spice  -r  or  with  the write command in an interactive
  3506. TEXT: H Spice3 session.  Nutmeg or interactive Spice3 can plot  data
  3507. TEXT: H from  a  simulation  on a graphics terminal or a workstation
  3508. TEXT: H display.  Most of the commands available in the  interactive
  3509. TEXT: H Spice3 front end are available in nutmeg;  where this is not
  3510. TEXT: H the case, Spice-only  commands  have  been  marked  with  an
  3511. TEXT: H asterisk  ("*").  Note that the raw output file is different
  3512. TEXT: H from the data that Spice2 writes  to  the  standard  output,
  3513. TEXT: H which  may  also be produced by spice3 with the "-b" command
  3514. TEXT: H line option.
  3515. TEXT: H
  3516. TEXT: H      Spice and Nutmeg use the X Window System  for  plotting
  3517. TEXT: H if they find the environment variable DISPLAY.  Otherwise, a
  3518. TEXT: H graphics-terminal independent interface (MFB) is  used.   If
  3519. TEXT: H you  are  using  X  on  a  workstation, the DISPLAY variable
  3520. TEXT: H should already be set; if you want to display graphics on  a
  3521. TEXT: H system different from the one you are running Spice3 or Nut-
  3522. TEXT: H meg on, DISPLAY should be of the  form  "_m_a_c_h_i_n_e:0.0".   See
  3523. TEXT: H the appropriate documentation on the X Window Sytem for more
  3524. TEXT: H details.
  3525. TEXT: H
  3526. TEXT: H
  3527. TEXT: H _C_o_m_m_a_n_d _S_y_n_o_p_s_i_s
  3528. TEXT: H
  3529. TEXT: H     spice [ -n ] [ -t term ] [ -r rawfile] [ -b ] [ -i ] [ input file ... ]
  3530. TEXT: H
  3531. TEXT: H     nutmeg [ - ] [ -n ] [ -t term ] [ datafile ... ]
  3532. TEXT: H
  3533. TEXT: H
  3534. TEXT: H
  3535. TEXT: H
  3536. TEXT: H Options are:
  3537. TEXT: H
  3538. TEXT: H -    Don't   try   to   load   the   default    data    file
  3539. TEXT: H      ("rawspice.raw")  if  no other files are given.  Nutmeg
  3540. TEXT: H      only.
  3541. TEXT: H
  3542. TEXT: H -n (or -N)
  3543. TEXT: H      Don't try to source the file ".spiceinit" upon startup.
  3544. TEXT: H      Normally  spice  and nutmeg try to find the file in the
  3545. TEXT: H      current directory, and if it is not found then  in  the
  3546. TEXT: H      user's home directory.
  3547. TEXT: H
  3548. TEXT: H -t term (or -T term)
  3549. TEXT: H      The program is being run on a terminal  with  _m_f_b  name
  3550. TEXT: H      term.
  3551. TEXT: H
  3552. TEXT: H -b (or -B)
  3553. TEXT: H      Run in batch mode.   Spice3  reads  the  default  input
  3554. TEXT: H      source  (e.g.  keyboard)  or reads the given input file
  3555. TEXT: H      and performs the analyses specified; output  is  either
  3556. TEXT: H      Spice2-like  line-printer  plots  ("ascii  plots") or a
  3557. TEXT: H      spice rawfile.  See the following section for  details.
  3558. TEXT: H      Note  that  if the input source is not a terminal (e.g.
  3559. TEXT: H      using the IO redirection notation of  "<")  Spice3  de-
  3560. TEXT: H      faults  to  batch  mode (-i overrides).  This option is
  3561. TEXT: H      valid for Spice3 only.
  3562. TEXT: H
  3563. TEXT: H
  3564. TEXT: H
  3565. TEXT: H -s (or -S)
  3566. TEXT: H      Run in server mode.  This is like  batch  mode,  except
  3567. TEXT: H      that  a  temporary  rawfile is used and then written to
  3568. TEXT: H      the standard output, preceded by a line with  a  single
  3569. TEXT: H      "@",  after  the simulation is done.  This mode is used
  3570. TEXT: H      by the spice daemon.  This option is valid  for  Spice3
  3571. TEXT: H      only.
  3572. TEXT: H
  3573. TEXT: H
  3574. TEXT: H
  3575. TEXT: H -i (or -I)
  3576. TEXT: H      Run in interactive mode.  This is useful if  the  stan-
  3577. TEXT: H      dard  input  is  not a terminal but interactive mode is
  3578. TEXT: H      desired.  Command completion is  not  available  unless
  3579. TEXT: H      the standard input is a terminal, however.  This option
  3580. TEXT: H      is valid for Spice3 only.
  3581. TEXT: H
  3582. TEXT: H
  3583. TEXT: H
  3584. TEXT: H -r _r_a_w_f_i_l_e (or -P _r_a_w_f_i_l_e)
  3585. TEXT: H      Use _r_a_w_f_i_l_e as the default file into which the  results
  3586. TEXT: H      of  the simulation are saved.  This option is valid for
  3587. TEXT: H      Spice3 only.
  3588. TEXT: H
  3589. TEXT: H
  3590. TEXT: H      Further arguments to spice are taken to be Spice3 input
  3591. TEXT: H files,  which  are  read and saved (if running in batch mode
  3592. TEXT: H then they are run immediately).  Spice3 accepts most  Spice2
  3593. TEXT: H input  file,  and  output ascii plots, fourier analyses, and
  3594. TEXT: H node printouts as specified  in  .plot,  .four,  and  .print
  3595. TEXT: H cards.   If  an out parameter is given on a .width card, the
  3596. TEXT: H effect is the same as set width = ....  Since  Spice3  ascii
  3597. TEXT: H plots  do  not  use  multiple  ranges,  however,  if vectors
  3598. TEXT: H together on a .plot card have different ranges they are  not
  3599. TEXT: H provide  as  much  information as they would in Spice2.  The
  3600. TEXT: H output of Spice3 is also much less verbose than  Spice2,  in
  3601. TEXT: H that  the  only  data printed is that requested by the above
  3602. TEXT: H cards.
  3603. TEXT: H
  3604. TEXT: H      For nutmeg, further arguments  are  taken  to  be  data
  3605. TEXT: H files  in binary or ascii format (see sconvert(1)) which are
  3606. TEXT: H loaded into nutmeg.  If the file is in binary format, it may
  3607. TEXT: H be  only  partially  completed  (useful for examining Spice2
  3608. TEXT: H output before the simulation is  finished).   One  file  may
  3609. TEXT: H contain any number of data sets from different analyses.
  3610. SUBTOPIC: SPICE:EXPRESSIONS FUNCTIONS AND CONSTANTS
  3611. SUBTOPIC: SPICE:COMMAND INTERPRETATION
  3612. SUBTOPIC: SPICE:COMMANDS
  3613. SUBTOPIC: SPICE:CONTROL STRUCTURES
  3614. SUBTOPIC: SPICE:VARIABLES
  3615. SUBTOPIC: SPICE:MISCELLANEOUS
  3616. SUBTOPIC: SPICE:BUGS
  3617.  
  3618. SUBJECT: EXPRESSIONS FUNCTIONS AND CONSTANTS
  3619. TITLE: EXPRESSIONS, FUNCTIONS, AND CONSTANTS
  3620. TEXT: H
  3621. TEXT: H _5._1.  _E_X_P_R_E_S_S_I_O_N_S, _F_U_N_C_T_I_O_N_S, _A_N_D _C_O_N_S_T_A_N_T_S
  3622. TEXT: H
  3623. TEXT: H      Spice and Nutmeg data is in the form of vectors:  time,
  3624. TEXT: H voltage,  etc.   Each  vector has a type, and vectors can be
  3625. TEXT: H operated on and combined algebraicly in ways consistent with
  3626. TEXT: H their  types.  Vectors are normally created when a data file
  3627. TEXT: H is read in (see the _l_o_a_d command below), and when  the  ini-
  3628. TEXT: H tial  datafile is loaded.  They can also be created with the
  3629. TEXT: H _l_e_t command.
  3630. TEXT: H
  3631. TEXT: H
  3632. TEXT: H      An expression is an algebraic formula involving vectors
  3633. TEXT: H and  scalars (a scalar is a vector of length 1) and the fol-
  3634. TEXT: H lowing operations:
  3635. TEXT: H
  3636. TEXT: H                   +   -    *    /    ^   %
  3637. TEXT: H
  3638. TEXT: H
  3639. TEXT: H % is the modulo operator, and the  comma  operator  has  two
  3640. TEXT: H meanings:  if  it is present in the argument list of a user-
  3641. TEXT: H definable function, it serves  to  separate  the  arguments.
  3642. TEXT: H Otherwise, the term x , y is synonymous with x + j(y).
  3643. TEXT: H
  3644. TEXT: H
  3645. TEXT: H
  3646. TEXT: H      Also available are the logical operations  &  (and),  |
  3647. TEXT: H (or),  !  (not), and the relational operations <, >, >=, <=,
  3648. TEXT: H =, and <> (not equal).  If used in an  algebraic  expression
  3649. TEXT: H they  work like they would in C, producing values of 0 or 1.
  3650. TEXT: H The relational operators have the following synonyms:
  3651. TEXT: H
  3652. TEXT: H
  3653. TEXT: H                             gt    >
  3654. TEXT: H                             lt    <
  3655. TEXT: H                             ge    >=
  3656. TEXT: H                             le    <=
  3657. TEXT: H                             ne    <>
  3658. TEXT: H                             eq    =
  3659. TEXT: H                             and   &
  3660. TEXT: H                             or    |
  3661. TEXT: H                             not   !
  3662. TEXT: H
  3663. TEXT: H
  3664. TEXT: H These are useful when < and >  might  be  confused  with  IO
  3665. TEXT: H redirection (which is almost always).
  3666. TEXT: H
  3667. TEXT: H
  3668. TEXT: H
  3669. TEXT: H      The following functions are available:
  3670. TEXT: H
  3671. TEXT: H mag(vector)                The magnitude of vector
  3672. TEXT: H ph(vector)                 The phase of vector
  3673. TEXT: H j(vector)                  _i (sqrt(-1)) times vector
  3674. TEXT: H real(vector)               The real component of vector
  3675. TEXT: H imag(vector)               The imaginary part of vector
  3676. TEXT: H db(vector)                 20 log10(mag(vector))
  3677. TEXT: H log(vector)                The logarithm (base 10) of vector
  3678. TEXT: H ln(vector)                 The natural logarithm (base e) of vector
  3679. TEXT: H exp(vector)                e to the vector power
  3680. TEXT: H abs(vector)                The absolute value of vector.
  3681. TEXT: H sqrt(vector)               The square root of vector.
  3682. TEXT: H sin(vector)                The sine of vector.
  3683. TEXT: H cos(vector)                The cosine of vector.
  3684. TEXT: H tan(vector)                The tangent of vector.
  3685. TEXT: H atan(vector)               The inverse tangent of vector.
  3686. TEXT: H norm(vector)               The vector normalized  to  1  (i.e,  the
  3687. TEXT: H                            largest  magnitude  of  any component is
  3688. TEXT: H                            1).
  3689. TEXT: H rnd(vector)                A vector with each  component  a  random
  3690. TEXT: H                            integer between 0 and the absolute value
  3691. TEXT: H                            of  the  vectors's  corresponding   com-
  3692. TEXT: H                            ponent.
  3693. TEXT: H mean(vector)               The result is a scalar (a length 1  vec-
  3694. TEXT: H                            tor) that is the mean of the elements of
  3695. TEXT: H                            vector.
  3696. TEXT: H vector(number)             The result is a vector of length number,
  3697. TEXT: H                            with  elements 0, 1, ... number - 1.  If
  3698. TEXT: H                            number is a vector then just  the  first
  3699. TEXT: H                            element is taken, and if it isn't an in-
  3700. TEXT: H                            teger then the floor of the magnitude is
  3701. TEXT: H                            used.
  3702. TEXT: H length(vector)             The length of vector.
  3703. TEXT: H interpolate(plot.vector)   The result of  interpolating  the  named
  3704. TEXT: H                            vector  onto  the  scale  of the current
  3705. TEXT: H                            plot.  This function uses  the  variable
  3706. TEXT: H                            polydegree  to  determine  the degree of
  3707. TEXT: H                            interpolation.
  3708. TEXT: H deriv(vector)              Calculates the derivative of  the  given
  3709. TEXT: H                            vector.   This uses numeric differentia-
  3710. TEXT: H                            tion by interpolating a  polynomial  and
  3711. TEXT: H                            may  not  produce  satisfactory  results
  3712. TEXT: H                            (particularly with iterated differentia-
  3713. TEXT: H                            tion).   The  implementation  only cacu-
  3714. TEXT: H                            lates the dirivative with respect to the
  3715. TEXT: H                            real componant of that vector's scale.
  3716. TEXT: H
  3717. TEXT: H
  3718. TEXT: H      A vector may be either the name  of  a  vector  already
  3719. TEXT: H defined or a floating-point number (a scalar).  A number may
  3720. TEXT: H be written in  any  format  acceptable  to  SPICE,  such  as
  3721. TEXT: H 14.6Meg  or  -1.231e-4.  Note that you can either use scien-
  3722. TEXT: H tific notation or one of the abbreviations like  _M_E_G  or  _G,
  3723. TEXT: H but  not  both.   As  with SPICE, a number may have trailing
  3724. TEXT: H alphabetic characters after it.
  3725. TEXT: H
  3726. TEXT: H      The notation expr [num] denotes the num'th  element  of
  3727. TEXT: H expr.   For  multi-dimensional vectors, a vector of one less
  3728. TEXT: H dimension is returned.  Also for multi-dimensional  vectors,
  3729. TEXT: H the  notation  expr[m][n] will return the _nth element of the
  3730. TEXT: H mth subvector.  To get a subrange of a vector, use the  form
  3731. TEXT: H expr[lower, upper].
  3732. TEXT: H
  3733. TEXT: H      To reference vectors in a plot that is not the  _c_u_r_r_e_n_t
  3734. TEXT: H _p_l_o_t   (see   the  setplot  command,  below),  the  notation
  3735. TEXT: H plotname.vecname can be used.
  3736. TEXT: H
  3737. TEXT: H
  3738. TEXT: H      Either a plotname or a vector name may be the  wildcard
  3739. TEXT: H all.   If  the  plotname  is  all, matching vectors from all
  3740. TEXT: H plots are specified, and if the vector name is all, all vec-
  3741. TEXT: H tors  in  the specified plots are referenced.  Note that you
  3742. TEXT: H may not use binary operations on expressions involving wild-
  3743. TEXT: H cards  - it is not obvious what all + all should denote, for
  3744. TEXT: H instance.  Thus some  (contrived)  examples  of  expressions
  3745. TEXT: H are:
  3746. TEXT: H
  3747. TEXT: H     cos(TIME) + db(v(3))
  3748. TEXT: H     sin(cos(log([1 2 3 4 5 6 7 8 9 10])))
  3749. TEXT: H     TIME * rnd(v(9)) - 15 * cos(vin#branch) ^ [7.9e5 8]
  3750. TEXT: H     not ((ac3.FREQ[32] & tran1.TIME[10]) gt 3)
  3751. TEXT: H
  3752. TEXT: H
  3753. TEXT: H
  3754. TEXT: H      Vector  names  in  spice  may  have  a  name  such   as
  3755. TEXT: H @name[param],  where  name  is  either  the name of a device
  3756. TEXT: H instance or model.  This denotes  the  value  of  the  param
  3757. TEXT: H parameter  of  the  device  or  model.   See  Appendix B for
  3758. TEXT: H details of what parameters are available.  The  value  is  a
  3759. TEXT: H vector  of  length  1.  This function is also available with
  3760. TEXT: H the show command, and is available with variables  for  con-
  3761. TEXT: H venience for command scripts.
  3762. TEXT: H
  3763. TEXT: H
  3764. TEXT: H      There are a number of pre-defined constants in  nutmeg.
  3765. TEXT: H They are:
  3766. TEXT: H
  3767. TEXT: H pi                J (3.14159...)
  3768. TEXT: H e                 The base of natural logarithms (2.71828...)
  3769. TEXT: H c                 The speed of light (299,792,500 m/sec)
  3770. TEXT: H i                 The square root of -1
  3771. TEXT: H                                                     o
  3772. TEXT: H kelvin            Absolute 0 in Centigrade (-273.15  C)
  3773. TEXT: H echarge           The charge on an electron (1.6021918e-19 C)
  3774. TEXT: H boltz             Boltzman's constant (1.3806226e-23)
  3775. TEXT: H planck            Planck's constant (h = 6.626200e-34)
  3776. TEXT: H
  3777. TEXT: H
  3778. TEXT: H      These are all in MKS units.  If you have another  vari-
  3779. TEXT: H able  with  a  name that conflicts with one of these then it
  3780. TEXT: H takes precedence.
  3781. TEXT: H
  3782.  
  3783. SUBJECT: COMMAND INTERPRETATION
  3784. TITLE: COMMAND INTERPRETATION
  3785. TEXT: H
  3786. TEXT: H _5._2.  _C_O_M_M_A_N_D _I_N_T_E_R_P_R_E_T_A_T_I_O_N
  3787. TEXT: H
  3788. TEXT: H      If a word is typed  as  a  command,  and  there  is  no
  3789. TEXT: H built-in  command  with  that  name,  the directories in the
  3790. TEXT: H _s_o_u_r_c_e_p_a_t_h list are searched in order for the file.   If  it
  3791. TEXT: H is  found,  it  is  read in as a command file (as if it were
  3792. TEXT: H sourced).  Before it is read, however,  the  variables  _a_r_g_c
  3793. TEXT: H and  _a_r_g_v  are  set  to  the  number  of words following the
  3794. TEXT: H filename on the command line, and  a  list  of  those  words
  3795. TEXT: H respectively.   After  the file is finished, these variables
  3796. TEXT: H are unset.  Note that if a command file  calls  another,  it
  3797. TEXT: H must  save  its _a_r_g_v and _a_r_g_c since they are altered.  Also,
  3798. TEXT: H command files may not be re-entrant since there are no local
  3799. TEXT: H variables.   (Of course, the procedures may explicitly mani-
  3800. TEXT: H pulate a stack...) This way one can write scripts  analogous
  3801. TEXT: H to shell scripts for nutmeg and Spice3.
  3802. TEXT: H
  3803. TEXT: H      Note that for the script to work with Spice3,  it  must
  3804. TEXT: H begin  with  a  blank  line  (or  whatever else, since it is
  3805. TEXT: H thrown away) and then a line with .control on it.   This  is
  3806. TEXT: H an  unfortunate  result of the source command being used for
  3807. TEXT: H both circuit input and command file  execution.   Note  also
  3808. TEXT: H that  this allows the user to merely type the name of a cir-
  3809. TEXT: H cuit file as a command and it  is  automatically  run.   The
  3810. TEXT: H commands  are executed immediately, without running any ana-
  3811. TEXT: H lyses that may be spicified in the circuit (to  execute  the
  3812. TEXT: H analyses before the script executes, include a "run" command
  3813. TEXT: H in the script).
  3814. TEXT: H
  3815. TEXT: H      There  are  various  command   scripts   installed   in
  3816. TEXT: H /_u_s_r/_l_o_c_a_l/_l_i_b/_s_p_i_c_e/_s_c_r_i_p_t_s  (or  whatever  the  path is on
  3817. TEXT: H your machine), and  the  default  _s_o_u_r_c_e_p_a_t_h  includes  this
  3818. TEXT: H directory,  so you can use these command files (almost) like
  3819. TEXT: H builtin commands.
  3820.  
  3821. SUBJECT: COMMANDS
  3822. TITLE: COMMANDS
  3823. TEXT: H
  3824. TEXT: H _5._3.  _C_O_M_M_A_N_D_S
  3825. TEXT: H
  3826. TEXT: H
  3827. SUBTOPIC: SPICE:Ac
  3828. SUBTOPIC: SPICE:Alias
  3829. SUBTOPIC: SPICE:Alter
  3830. SUBTOPIC: SPICE:Asciiplot
  3831. SUBTOPIC: SPICE:Aspice
  3832. SUBTOPIC: SPICE:Bug
  3833. SUBTOPIC: SPICE:Cd
  3834. SUBTOPIC: SPICE:Destroy
  3835. SUBTOPIC: SPICE:Dc
  3836. SUBTOPIC: SPICE:Define
  3837. SUBTOPIC: SPICE:Delete
  3838. SUBTOPIC: SPICE:Diff
  3839. SUBTOPIC: SPICE:Display
  3840. SUBTOPIC: SPICE:Echo
  3841. SUBTOPIC: SPICE:Edit
  3842. SUBTOPIC: SPICE:Fourier
  3843. SUBTOPIC: SPICE:Hardcopy
  3844. SUBTOPIC: SPICE:Help
  3845. SUBTOPIC: SPICE:History
  3846. SUBTOPIC: SPICE:Iplot
  3847. SUBTOPIC: SPICE:Jobs
  3848. SUBTOPIC: SPICE:Let
  3849. SUBTOPIC: SPICE:Linearize
  3850. SUBTOPIC: SPICE:Listing
  3851. SUBTOPIC: SPICE:Load
  3852. SUBTOPIC: SPICE:Op
  3853. SUBTOPIC: SPICE:Plot
  3854. SUBTOPIC: SPICE:Print
  3855. SUBTOPIC: SPICE:Quit
  3856. SUBTOPIC: SPICE:Rehash
  3857. SUBTOPIC: SPICE:Reset
  3858. SUBTOPIC: SPICE:Reshape
  3859. SUBTOPIC: SPICE:Resume
  3860. SUBTOPIC: SPICE:Rspice
  3861. SUBTOPIC: SPICE:Run
  3862. SUBTOPIC: SPICE:Rusage
  3863. SUBTOPIC: SPICE:Save
  3864. SUBTOPIC: SPICE:Sens
  3865. SUBTOPIC: SPICE:Set
  3866. SUBTOPIC: SPICE:Setcirc
  3867. SUBTOPIC: SPICE:Setplot
  3868. SUBTOPIC: SPICE:Settype
  3869. SUBTOPIC: SPICE:Shell
  3870. SUBTOPIC: SPICE:Shift
  3871. SUBTOPIC: SPICE:Show
  3872. SUBTOPIC: SPICE:Showmod
  3873. SUBTOPIC: SPICE:Source
  3874. SUBTOPIC: SPICE:Status
  3875. SUBTOPIC: SPICE:Step
  3876. SUBTOPIC: SPICE:Stop
  3877. SUBTOPIC: SPICE:Tf
  3878. SUBTOPIC: SPICE:Trace
  3879. SUBTOPIC: SPICE:Tran
  3880. SUBTOPIC: SPICE:Transpose
  3881. SUBTOPIC: SPICE:Unalias
  3882. SUBTOPIC: SPICE:Undefine
  3883. SUBTOPIC: SPICE:Unset
  3884. SUBTOPIC: SPICE:Version
  3885. SUBTOPIC: SPICE:Where
  3886. SUBTOPIC: SPICE:Write
  3887. SUBTOPIC: SPICE:Xgraph
  3888.  
  3889. SUBJECT: Ac
  3890. TITLE: Ac*: Perform an AC, small-signal frequency response analysis
  3891. TEXT: H
  3892. TEXT: H _5._3._1.  _A_c*: _P_e_r_f_o_r_m _a_n _A_C, _s_m_a_l_l-_s_i_g_n_a_l _f_r_e_q_u_e_n_c_y  _r_e_s_p_o_n_s_e
  3893. TEXT: H _a_n_a_l_y_s_i_s
  3894. TEXT: H
  3895. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  3896. TEXT: H
  3897. TEXT: H     ac ( DEC | OCT | LIN ) _N _F_s_t_a_r_t _F_s_t_o_p
  3898. TEXT: H
  3899. TEXT: H
  3900. TEXT: H      Do an ac analysis.  See the  previous  sections  of
  3901. TEXT: H this manual for more details.
  3902. TEXT: H
  3903. TEXT: H
  3904.  
  3905. SUBJECT: Alias
  3906. TITLE: Alias:  Create an alias for a command
  3907. TEXT: H
  3908. TEXT: H _5._3._2.  _A_l_i_a_s:  _C_r_e_a_t_e _a_n _a_l_i_a_s _f_o_r _a _c_o_m_m_a_n_d
  3909. TEXT: H
  3910. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  3911. TEXT: H
  3912. TEXT: H     alias [word] [text ...]
  3913. TEXT: H
  3914. TEXT: H
  3915. TEXT: H      Causes word to be aliased to text.  History substi-
  3916. TEXT: H tutions may be used, as in C-shell aliases.
  3917. TEXT: H
  3918. TEXT: H
  3919.  
  3920. SUBJECT: Alter
  3921. TITLE: Alter*:  Change a device or model parameter
  3922. TEXT: H
  3923. TEXT: H _5._3._3.  _A_l_t_e_r*:  _C_h_a_n_g_e _a _d_e_v_i_c_e _o_r _m_o_d_e_l _p_a_r_a_m_e_t_e_r
  3924. TEXT: H
  3925. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  3926. TEXT: H
  3927. TEXT: H     alter _d_e_v_i_c_e _v_a_l_u_e
  3928. TEXT: H     alter _d_e_v_i_c_e _p_a_r_a_m_e_t_e_r _v_a_l_u_e [ _p_a_r_a_m_e_t_e_r _v_a_l_u_e ]
  3929. TEXT: H
  3930. TEXT: H
  3931. TEXT: H      Alter changes the value for a device or a specified
  3932. TEXT: H parameter  of a device or model.  The first form is used
  3933. TEXT: H by simple devices which have one principal value (resis-
  3934. TEXT: H tors,  capacitors,  etc.)  where  the second form is for
  3935. TEXT: H more complex devices (bjt's,  etc.).   Model  parameters
  3936. TEXT: H can be changed with the second form if the name contains
  3937. TEXT: H a "#".
  3938. TEXT: H
  3939. TEXT: H      For specifying vectors as values, start the  vector
  3940. TEXT: H with  "[", followed by the values in the vector, and end
  3941. TEXT: H with "]".  Be sure to place a space between each of  the
  3942. TEXT: H values and before and after the "[" and "]".
  3943. TEXT: H
  3944. TEXT: H
  3945.  
  3946. SUBJECT: Asciiplot
  3947. TITLE: Asciiplot:  Plot values using old-style character plots
  3948. TEXT: H
  3949. TEXT: H _5._3._4.  _A_s_c_i_i_p_l_o_t:  _P_l_o_t _v_a_l_u_e_s  _u_s_i_n_g  _o_l_d-_s_t_y_l_e  _c_h_a_r_a_c_t_e_r
  3950. TEXT: H _p_l_o_t_s
  3951. TEXT: H
  3952. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  3953. TEXT: H
  3954. TEXT: H     asciiplot _p_l_o_t_a_r_g_s
  3955. TEXT: H
  3956. TEXT: H
  3957. TEXT: H      Produce a line printer plot of  the  vectors.   The
  3958. TEXT: H plot  is  sent to the standard output, so you can put it
  3959. TEXT: H into a file with _a_s_c_i_i_p_l_o_t _a_r_g_s ... > _f_i_l_e.  The set op-
  3960. TEXT: H tions width, height, and nobreak determine the width and
  3961. TEXT: H height of the plot, and whether there are  page  breaks,
  3962. TEXT: H respectively.   Note  that you will have problems if you
  3963. TEXT: H try to asciiplot something with an  X-scale  that  isn't
  3964. TEXT: H monotonic  (i.e, something like _s_i_n(_T_I_M_E) ), because as-
  3965. TEXT: H ciiplot uses a simple-minded linear interpolation.
  3966. TEXT: H
  3967. TEXT: H
  3968.  
  3969. SUBJECT: Aspice
  3970. TITLE: Aspice: Asynchronous spice run
  3971. TEXT: H
  3972. TEXT: H _5._3._5.  _A_s_p_i_c_e: _A_s_y_n_c_h_r_o_n_o_u_s _s_p_i_c_e _r_u_n
  3973. TEXT: H
  3974. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  3975. TEXT: H
  3976. TEXT: H     aspice input-file [output-file]
  3977. TEXT: H
  3978. TEXT: H
  3979. TEXT: H      Start a SPICE-3 run, and when it is  finished  load
  3980. TEXT: H the resulting data.  The raw data is kept in a temporary
  3981. TEXT: H file.  If _o_u_t_p_u_t-_f_i_l_e is specified then  the  diagnostic
  3982. TEXT: H output  is  directed  into  that  file,  otherwise it is
  3983. TEXT: H thrown away.
  3984. TEXT: H
  3985. TEXT: H
  3986.  
  3987. SUBJECT: Bug
  3988. TITLE: Bug:  Mail a bug report
  3989. TEXT: H
  3990. TEXT: H _5._3._6.  _B_u_g:  _M_a_i_l _a _b_u_g _r_e_p_o_r_t
  3991. TEXT: H
  3992. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  3993. TEXT: H
  3994. TEXT: H     bug
  3995. TEXT: H
  3996. TEXT: H
  3997. TEXT: H      Send a bug report.  Please include a short  summary
  3998. TEXT: H of  the  problem,  the  version  number  and name of the
  3999. TEXT: H operating system that you are running,  the  version  of
  4000. TEXT: H Spice that you are running, and the relevant spice input
  4001. TEXT: H file.   (If  you  have  defined  BUGADDR,  the  mail  is
  4002. TEXT: H delivered to there.)
  4003. TEXT: H
  4004. TEXT: H
  4005.  
  4006. SUBJECT: Cd
  4007. TITLE: Cd: Change directory
  4008. TEXT: H
  4009. TEXT: H _5._3._7.  _C_d: _C_h_a_n_g_e _d_i_r_e_c_t_o_r_y
  4010. TEXT: H
  4011. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4012. TEXT: H
  4013. TEXT: H     cd [directory]
  4014. TEXT: H
  4015. TEXT: H
  4016. TEXT: H      Change the current working directory to  directory,
  4017. TEXT: H or to the user's home directory if none is given.
  4018. TEXT: H
  4019. TEXT: H
  4020.  
  4021. SUBJECT: Destroy
  4022. TITLE: Destroy: Delete a data set
  4023. TEXT: H
  4024. TEXT: H _5._3._8.  _D_e_s_t_r_o_y: _D_e_l_e_t_e _a _d_a_t_a _s_e_t
  4025. TEXT: H
  4026. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4027. TEXT: H
  4028. TEXT: H     destroy [_p_l_o_t_n_a_m_e_s | all]
  4029. TEXT: H
  4030. TEXT: H
  4031. TEXT: H      Release the memory holding the data for the  speci-
  4032. TEXT: H fied runs.
  4033. TEXT: H
  4034. TEXT: H
  4035.  
  4036. SUBJECT: Dc
  4037. TITLE: Dc*: Perform a DC-sweep analysis
  4038. TEXT: H
  4039. TEXT: H _5._3._9.  _D_c*: _P_e_r_f_o_r_m _a _D_C-_s_w_e_e_p _a_n_a_l_y_s_i_s
  4040. TEXT: H
  4041. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4042. TEXT: H
  4043. TEXT: H     dc _S_o_u_r_c_e-_N_a_m_e _V_s_t_a_r_t _V_s_t_o_p _V_i_n_c_r [ _S_o_u_r_c_e_2 _V_s_t_a_r_t_2 _V_s_t_o_p_2 _V_i_n_c_r_2 ]
  4044. TEXT: H
  4045. TEXT: H
  4046. TEXT: H      Do a dc transfer curve analysis.  See the  previous
  4047. TEXT: H sections of this manual for more details.
  4048. TEXT: H
  4049. TEXT: H
  4050.  
  4051. SUBJECT: Define
  4052. TITLE: Define:  Define a function
  4053. TEXT: H
  4054. TEXT: H _5._3._1_0.  _D_e_f_i_n_e:  _D_e_f_i_n_e _a _f_u_n_c_t_i_o_n
  4055. TEXT: H
  4056. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4057. TEXT: H
  4058. TEXT: H     define function(arg1, arg2, ...) expression
  4059. TEXT: H
  4060. TEXT: H
  4061. TEXT: H      Define the _u_s_e_r-_d_e_f_i_n_a_b_l_e _f_u_n_c_t_i_o_n  with  the  name
  4062. TEXT: H _f_u_n_c_t_i_o_n and arguments _a_r_g_1, _a_r_g_2, ... to be _e_x_p_r_e_s_s_i_o_n,
  4063. TEXT: H which may involve the arguments.  When the  function  is
  4064. TEXT: H later  used,  the  arguments it is given are substituted
  4065. TEXT: H for the formal arguments when it is parsed.  If  _e_x_p_r_e_s-
  4066. TEXT: H _s_i_o_n  is  not  present,  any  definition for _f_u_n_c_t_i_o_n is
  4067. TEXT: H printed, and if there are no arguments  to  _d_e_f_i_n_e  then
  4068. TEXT: H all currently active definitions are printed.  Note that
  4069. TEXT: H you may have different functions defined with  the  same
  4070. TEXT: H name but different arities.
  4071. TEXT: H
  4072. TEXT: H
  4073. TEXT: H
  4074. TEXT: H      Some useful definitions are:
  4075. TEXT: H
  4076. TEXT: H     define max(x,y) (x > y) * x + (x <= y) * y
  4077. TEXT: H     define min(x,y) (x < y) * x + (x >= y) * y
  4078. TEXT: H
  4079. TEXT: H
  4080. TEXT: H
  4081.  
  4082. SUBJECT: Delete
  4083. TITLE: Delete*: Remove a trace or breakpoint
  4084. TEXT: H
  4085. TEXT: H _5._3._1_1.  _D_e_l_e_t_e*: _R_e_m_o_v_e _a _t_r_a_c_e _o_r _b_r_e_a_k_p_o_i_n_t
  4086. TEXT: H
  4087. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4088. TEXT: H
  4089. TEXT: H     delete [ _d_e_b_u_g-_n_u_m_b_e_r ... ]
  4090. TEXT: H
  4091. TEXT: H
  4092. TEXT: H      Delete the specified breakpoints and  traces.   The
  4093. TEXT: H debug numbers are those shown by the status command (un-
  4094. TEXT: H less you do status >  file,  in  which  case  the  debug
  4095. TEXT: H numbers are not printed).
  4096. TEXT: H
  4097. TEXT: H
  4098.  
  4099. SUBJECT: Diff
  4100. TITLE: Diff:  Compare vectors
  4101. TEXT: H
  4102. TEXT: H _5._3._1_2.  _D_i_f_f:  _C_o_m_p_a_r_e _v_e_c_t_o_r_s
  4103. TEXT: H
  4104. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4105. TEXT: H
  4106. TEXT: H     diff plot1 plot2 [vec ...]
  4107. TEXT: H
  4108. TEXT: H
  4109. TEXT: H      Compare all the vectors in the specified _p_l_o_t_s,  or
  4110. TEXT: H only the named vectors if any are given.  There are dif-
  4111. TEXT: H ferent vectors in the two plots, or any  values  in  the
  4112. TEXT: H vectors differ significantly the difference is reported.
  4113. TEXT: H The variable diff_abstol,  diff_reltol,  and  diff_vntol
  4114. TEXT: H are used to determine a significant difference.
  4115. TEXT: H
  4116. TEXT: H
  4117.  
  4118. SUBJECT: Display
  4119. TITLE: Display:  List known vectors and types
  4120. TEXT: H
  4121. TEXT: H _5._3._1_3.  _D_i_s_p_l_a_y:  _L_i_s_t _k_n_o_w_n _v_e_c_t_o_r_s _a_n_d _t_y_p_e_s
  4122. TEXT: H
  4123. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4124. TEXT: H
  4125. TEXT: H     display [varname ...]
  4126. TEXT: H
  4127. TEXT: H
  4128. TEXT: H      Prints a summary of currently defined  vectors,  or
  4129. TEXT: H of  the names specified.  The vectors are sorted by name
  4130. TEXT: H unless the variable  nosort  is  set.   The  information
  4131. TEXT: H given is the name of the vector, the length, the type of
  4132. TEXT: H the vector, and whether it is real or complex data.  Ad-
  4133. TEXT: H ditionally,  one vector is labeled [scale].  When a com-
  4134. TEXT: H mand such as _p_l_o_t is given without a _v_s  argument,  this
  4135. TEXT: H scale  is  used  for the X-axis.  It is always the first
  4136. TEXT: H vector in a rawfile, or the first vector  defined  in  a
  4137. TEXT: H new  plot.   If  you undefine the scale (i.e, _l_e_t _T_I_M_E =
  4138. TEXT: H []), one of the remaining vectors becomes the new  scale
  4139. TEXT: H (which is undetermined).
  4140. TEXT: H
  4141. TEXT: H
  4142.  
  4143. SUBJECT: Echo
  4144. TITLE: Echo:  Print text
  4145. TEXT: H
  4146. TEXT: H _5._3._1_4.  _E_c_h_o:  _P_r_i_n_t _t_e_x_t
  4147. TEXT: H
  4148. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4149. TEXT: H
  4150. TEXT: H     echo [text...]
  4151. TEXT: H
  4152. TEXT: H
  4153. TEXT: H      Echos the given text to the screen.
  4154. TEXT: H
  4155. TEXT: H
  4156.  
  4157. SUBJECT: Edit
  4158. TITLE: Edit*: Edit the current circuit
  4159. TEXT: H
  4160. TEXT: H _5._3._1_5.  _E_d_i_t*: _E_d_i_t _t_h_e _c_u_r_r_e_n_t _c_i_r_c_u_i_t
  4161. TEXT: H
  4162. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4163. TEXT: H
  4164. TEXT: H     edit [ _f_i_l_e ]
  4165. TEXT: H
  4166. TEXT: H
  4167. TEXT: H      Print the current Spice3 input file  into  a  file,
  4168. TEXT: H call  up  the  editor on that file and allow the user to
  4169. TEXT: H modify it, and then read it back in, replacing the  ori-
  4170. TEXT: H ginal file.  If a _f_i_l_e_n_a_m_e is given, then edit that file
  4171. TEXT: H and load it, making the circuit the current one.
  4172. TEXT: H
  4173. TEXT: H
  4174.  
  4175. SUBJECT: Fourier
  4176. TITLE: Fourier: Perform a fourier transform
  4177. TEXT: H
  4178. TEXT: H _5._3._1_6.  _F_o_u_r_i_e_r: _P_e_r_f_o_r_m _a _f_o_u_r_i_e_r _t_r_a_n_s_f_o_r_m
  4179. TEXT: H
  4180. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4181. TEXT: H
  4182. TEXT: H     fourier fundamental_frequency [value ...]
  4183. TEXT: H
  4184. TEXT: H
  4185. TEXT: H      Does a  fourier  analysis  of  each  of  the  given
  4186. TEXT: H values,  using the first 10 multiples of the fundamental
  4187. TEXT: H frequency (or the first _n_f_r_e_q_s, if that variable is  set
  4188. TEXT: H -  see  below).   The  output  is like that of the .four
  4189. TEXT: H Spice3 line.  The values may be  any  valid  expression.
  4190. TEXT: H The values are interpolated onto a fixed-space grid with
  4191. TEXT: H the number of points given by the fourgridsize variable,
  4192. TEXT: H or 200 if it is not set.  The interpolation is of degree
  4193. TEXT: H polydegree if that variable is set, or 1.  If polydegree
  4194. TEXT: H is  0, then no interpolation is done.  This is likely to
  4195. TEXT: H give erroneous results if the time scale is not monoton-
  4196. TEXT: H ic, though.
  4197. TEXT: H
  4198. TEXT: H
  4199.  
  4200. SUBJECT: Hardcopy
  4201. TITLE: Hardcopy:  Save a plot to a file for printing
  4202. TEXT: H
  4203. TEXT: H _5._3._1_7.  _H_a_r_d_c_o_p_y:  _S_a_v_e _a _p_l_o_t _t_o _a _f_i_l_e _f_o_r _p_r_i_n_t_i_n_g
  4204. TEXT: H
  4205. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4206. TEXT: H
  4207. TEXT: H     hardcopy file _p_l_o_t_a_r_g_s
  4208. TEXT: H
  4209. TEXT: H
  4210. TEXT: H      Just like plot, except creates a file  called  _f_i_l_e
  4211. TEXT: H containing  the  plot.   The file is an image in _p_l_o_t(_5)
  4212. TEXT: H format, and can be printed by either the plot(1) program
  4213. TEXT: H or lpr with the -g flag.
  4214. TEXT: H
  4215. TEXT: H
  4216.  
  4217. SUBJECT: Help
  4218. TITLE: Help:  Print summaries of Spice3 commands
  4219. TEXT: H
  4220. TEXT: H _5._3._1_8.  _H_e_l_p:  _P_r_i_n_t _s_u_m_m_a_r_i_e_s _o_f _S_p_i_c_e_3 _c_o_m_m_a_n_d_s
  4221. TEXT: H
  4222. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4223. TEXT: H
  4224. TEXT: H     help [all] [command ...]
  4225. TEXT: H
  4226. TEXT: H
  4227. TEXT: H      Prints help.  If the argument all is given, a short
  4228. TEXT: H description  of  everything  you  could possibly type is
  4229. TEXT: H printed.  If commands are given, descriptions  of  those
  4230. TEXT: H commands are printed.  Otherwise help for only a few ma-
  4231. TEXT: H jor commands is printed.
  4232. TEXT: H
  4233. TEXT: H
  4234.  
  4235. SUBJECT: History
  4236. TITLE: History:  Review previous commands
  4237. TEXT: H
  4238. TEXT: H _5._3._1_9.  _H_i_s_t_o_r_y:  _R_e_v_i_e_w _p_r_e_v_i_o_u_s _c_o_m_m_a_n_d_s
  4239. TEXT: H
  4240. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4241. TEXT: H
  4242. TEXT: H     history [number]
  4243. TEXT: H
  4244. TEXT: H
  4245. TEXT: H      Print out the history, or the last number  commands
  4246. TEXT: H typed  at the keyboard.  _N_o_t_e: in Spice3 version 3a7 and
  4247. TEXT: H earlier, all commands (including ones read  from  files)
  4248. TEXT: H were saved.
  4249. TEXT: H
  4250. TEXT: H
  4251.  
  4252. SUBJECT: Iplot
  4253. TITLE: Iplot*: Incremental plot
  4254. TEXT: H
  4255. TEXT: H _5._3._2_0.  _I_p_l_o_t*: _I_n_c_r_e_m_e_n_t_a_l _p_l_o_t
  4256. TEXT: H
  4257. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4258. TEXT: H
  4259. TEXT: H     iplot [ node ...]
  4260. TEXT: H
  4261. TEXT: H
  4262. TEXT: H      Incrementally plot the values of  the  nodes  while
  4263. TEXT: H Spice3  runs.   The  iplot  command can be used with the
  4264. TEXT: H where command to find trouble spots in a transient simu-
  4265. TEXT: H lation.
  4266. TEXT: H
  4267. TEXT: H
  4268.  
  4269. SUBJECT: Jobs
  4270. TITLE: Jobs:  List active asynchronous spice runs
  4271. TEXT: H
  4272. TEXT: H _5._3._2_1.  _J_o_b_s:  _L_i_s_t _a_c_t_i_v_e _a_s_y_n_c_h_r_o_n_o_u_s _s_p_i_c_e _r_u_n_s
  4273. TEXT: H
  4274. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4275. TEXT: H
  4276. TEXT: H     jobs
  4277. TEXT: H
  4278. TEXT: H
  4279. TEXT: H      Report on the asynchronous SPICE-3  jobs  currently
  4280. TEXT: H running.   Nutmeg checks to see if the jobs are finished
  4281. TEXT: H every time you execute a command.  If it  is  done  then
  4282. TEXT: H the data is loaded and becomes available.
  4283. TEXT: H
  4284. TEXT: H
  4285.  
  4286. SUBJECT: Let
  4287. TITLE: Let:  Assign a value to a vector
  4288. TEXT: H
  4289. TEXT: H _5._3._2_2.  _L_e_t:  _A_s_s_i_g_n _a _v_a_l_u_e _t_o _a _v_e_c_t_o_r
  4290. TEXT: H
  4291. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4292. TEXT: H
  4293. TEXT: H     let name = expr
  4294. TEXT: H
  4295. TEXT: H
  4296. TEXT: H      Creates a new vector called  _n_a_m_e  with  the  value
  4297. TEXT: H specified by _e_x_p_r, an expression as described above.  If
  4298. TEXT: H expr is [] (a zero-length vector) then  the  vector  be-
  4299. TEXT: H comes undefined.  Individual elements of a vector may be
  4300. TEXT: H modified by appending a subscript to name (ex. name[0]).
  4301. TEXT: H If there are no arguments, let is the same as display.
  4302. TEXT: H
  4303. TEXT: H
  4304.  
  4305. SUBJECT: Linearize
  4306. TITLE: Linearize*:  Interpolate to a linear scale
  4307. TEXT: H
  4308. TEXT: H _5._3._2_3.  _L_i_n_e_a_r_i_z_e*:  _I_n_t_e_r_p_o_l_a_t_e _t_o _a _l_i_n_e_a_r _s_c_a_l_e
  4309. TEXT: H
  4310. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4311. TEXT: H
  4312. TEXT: H     linearize vec ...
  4313. TEXT: H
  4314. TEXT: H
  4315. TEXT: H      Create a new plot with all of the  vectors  in  the
  4316. TEXT: H current  plot,  or only those mentioned if arguments are
  4317. TEXT: H given.  The new vectors are interpolated onto  a  linear
  4318. TEXT: H time  scale, which is determined by the values of tstep,
  4319. TEXT: H tstart, and tstop  in  the  currently  active  transient
  4320. TEXT: H analysis.   The currently loaded input file must include
  4321. TEXT: H a transient analysis (a tran command may be run interac-
  4322. TEXT: H tively  before  the  last  reset,  alternately), and the
  4323. TEXT: H current plot must be from this transient analysis.  This
  4324. TEXT: H command  is  needed  because  Spice3  doesn't output the
  4325. TEXT: H results from a transient analysis  in  the  same  manner
  4326. TEXT: H that Spice2 did.
  4327. TEXT: H
  4328. TEXT: H
  4329.  
  4330. SUBJECT: Listing
  4331. TITLE: Listing*: Print a listing of the current circuit
  4332. TEXT: H
  4333. TEXT: H _5._3._2_4.  _L_i_s_t_i_n_g*: _P_r_i_n_t _a _l_i_s_t_i_n_g _o_f _t_h_e _c_u_r_r_e_n_t _c_i_r_c_u_i_t
  4334. TEXT: H
  4335. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4336. TEXT: H
  4337. TEXT: H     listing [logical] [physical] [deck] [expand]
  4338. TEXT: H
  4339. TEXT: H
  4340. TEXT: H      If the logical argument is given,  the  listing  is
  4341. TEXT: H with all continuation lines collapsed into one line, and
  4342. TEXT: H if the physical argument is given the lines are  printed
  4343. TEXT: H out as they were found in the file.  The default is log-
  4344. TEXT: H ical.  A deck listing is just like the physical listing,
  4345. TEXT: H except  without  the line numbers it recreates the input
  4346. TEXT: H file verbatim (except that it does not  preserve  case).
  4347. TEXT: H If  the  word  expand is present, the circuit is printed
  4348. TEXT: H with all subcircuits expanded.
  4349. TEXT: H
  4350. TEXT: H
  4351.  
  4352. SUBJECT: Load
  4353. TITLE: Load:  Load rawfile data
  4354. TEXT: H
  4355. TEXT: H _5._3._2_5.  _L_o_a_d:  _L_o_a_d _r_a_w_f_i_l_e _d_a_t_a
  4356. TEXT: H
  4357. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4358. TEXT: H
  4359. TEXT: H     load [filename] ...
  4360. TEXT: H
  4361. TEXT: H
  4362. TEXT: H      Loads either binary or ascii  format  rawfile  data
  4363. TEXT: H from   the   files   named.   The  default  filename  is
  4364. TEXT: H rawspice.raw, or the argument to the -r  flag  if  there
  4365. TEXT: H was one.
  4366. TEXT: H
  4367. TEXT: H
  4368.  
  4369. SUBJECT: Op
  4370. TITLE: Op*: Perform an operating point analysis
  4371. TEXT: H
  4372. TEXT: H _5._3._2_6.  _O_p*: _P_e_r_f_o_r_m _a_n _o_p_e_r_a_t_i_n_g _p_o_i_n_t _a_n_a_l_y_s_i_s
  4373. TEXT: H
  4374. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4375. TEXT: H
  4376. TEXT: H     op
  4377. TEXT: H
  4378. TEXT: H
  4379. TEXT: H      Do an operating point analysis.  See  the  previous
  4380. TEXT: H sections of this manual for more details.
  4381. TEXT: H
  4382. TEXT: H
  4383.  
  4384. SUBJECT: Plot
  4385. TITLE: Plot: Plot values on the display
  4386. TEXT: H
  4387. TEXT: H _5._3._2_7.  _P_l_o_t: _P_l_o_t _v_a_l_u_e_s _o_n _t_h_e _d_i_s_p_l_a_y
  4388. TEXT: H
  4389. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4390. TEXT: H
  4391. TEXT: H     plot exprs [ylimit ylo yhi] [xlimit xlo xhi] [xindices xilo xihi]
  4392. TEXT: H          [xcompress comp] [xdelta xdel] [ydelta ydel] [xlog] [ylog] [loglog]
  4393. TEXT: H          [vs xname] [xlabel word] [ylabel word] [title word] [samep]
  4394. TEXT: H          [linear]
  4395. TEXT: H
  4396. TEXT: H
  4397. TEXT: H
  4398. TEXT: H      Plot the given _e_x_p_r_s on the screen (if  you  are  on  a
  4399. TEXT: H graphics  terminal).  The _x_l_i_m_i_t and _y_l_i_m_i_t arguments deter-
  4400. TEXT: H mine the high and low x- and y-limits of the  axes,  respec-
  4401. TEXT: H tively.   The  _x_i_n_d_i_c_e_s  arguments  determine  what range of
  4402. TEXT: H points are to be plotted - everything  between  the  xilo'th
  4403. TEXT: H point and the xihi'th point is plotted.  The _x_c_o_m_p_r_e_s_s argu-
  4404. TEXT: H ment specifies that only one out of every comp points should
  4405. TEXT: H be  plotted.  If an xdelta or a ydelta parameter is present,
  4406. TEXT: H it specifies the spacing between grid lines on  the  X-  and
  4407. TEXT: H Y-axis.  These parameter names may be abbreviated to _x_l, _y_l,
  4408. TEXT: H _x_i_n_d, _x_c_o_m_p, _x_d_e_l, and _y_d_e_l respectively.
  4409. TEXT: H
  4410. TEXT: H      The _x_n_a_m_e argument is an expression to use as the scale
  4411. TEXT: H on  the  x-axis. If xlog or ylog are present then the X or Y
  4412. TEXT: H scale, respectively, is logarithmic (loglog is the  same  as
  4413. TEXT: H specifying both).  The xlabel and ylabel arguments cause the
  4414. TEXT: H specified labels to be used for the X and  Y  axes,  respec-
  4415. TEXT: H tively.
  4416. TEXT: H
  4417. TEXT: H      If samep is given, the values of the  other  parameters
  4418. TEXT: H (other  than  xname)  from  the  previous plot, hardcopy, or
  4419. TEXT: H asciiplot command is used unless re-defined on  the  command
  4420. TEXT: H line.
  4421. TEXT: H
  4422. TEXT: H      The title argument is used in the  place  of  the  plot
  4423. TEXT: H name at the bottom of the graph.
  4424. TEXT: H
  4425. TEXT: H      The linear keyword is used to override a  default  log-
  4426. TEXT: H scale plot (as in the output for an AC analysis).
  4427. TEXT: H
  4428. TEXT: H      Finally, the keyword polar to generate  a  polar  plot.
  4429. TEXT: H To  produce  a smith plot, use the keyword smith.  Note that
  4430. TEXT: H the data is transformed, so for smith plots you will see the
  4431. TEXT: H data  transformed by the function (x-1)/(x+1).  To produce a
  4432. TEXT: H polar plot with a smith  grid  but  without  performing  the
  4433. TEXT: H smith transform, use the keyword smithgrid.
  4434. TEXT: H
  4435.  
  4436. SUBJECT: Print
  4437. TITLE: Print:  Print values
  4438. TEXT: H
  4439. TEXT: H _5._3._2_8.  _P_r_i_n_t:  _P_r_i_n_t _v_a_l_u_e_s
  4440. TEXT: H
  4441. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4442. TEXT: H
  4443. TEXT: H     print [col] [line] expr ...
  4444. TEXT: H
  4445. TEXT: H
  4446. TEXT: H      Prints the vector described by the expression _e_x_p_r.
  4447. TEXT: H If  the _c_o_l argument is present, print the vectors named
  4448. TEXT: H side by side.  If line is given, the vectors are printed
  4449. TEXT: H horizontally.   col  is the default, unless all the vec-
  4450. TEXT: H tors named have a length of one, in which case  line  is
  4451. TEXT: H the default.  The options width, length, and nobreak are
  4452. TEXT: H effective for this command (see asciiplot).  If the  ex-
  4453. TEXT: H pression is all, all of the vectors available are print-
  4454. TEXT: H ed.  Thus print col all > file prints everything in  the
  4455. TEXT: H file in SPICE2 format.  The scale vector (time, frequen-
  4456. TEXT: H cy) is always in the first column  unless  the  variable
  4457. TEXT: H noprintscale is true.
  4458. TEXT: H
  4459. TEXT: H
  4460.  
  4461. SUBJECT: Quit
  4462. TITLE: Quit:  Leave Spice3 or Nutmeg
  4463. TEXT: H
  4464. TEXT: H _5._3._2_9.  _Q_u_i_t:  _L_e_a_v_e _S_p_i_c_e_3 _o_r _N_u_t_m_e_g
  4465. TEXT: H
  4466. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4467. TEXT: H
  4468. TEXT: H     quit
  4469. TEXT: H
  4470. TEXT: H
  4471. TEXT: H      Quit nutmeg or spice.
  4472. TEXT: H
  4473. TEXT: H
  4474.  
  4475. SUBJECT: Rehash
  4476. TITLE: Rehash: Reset internal hash tables
  4477. TEXT: H
  4478. TEXT: H _5._3._3_0.  _R_e_h_a_s_h: _R_e_s_e_t _i_n_t_e_r_n_a_l _h_a_s_h _t_a_b_l_e_s
  4479. TEXT: H
  4480. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4481. TEXT: H
  4482. TEXT: H     rehash
  4483. TEXT: H
  4484. TEXT: H
  4485. TEXT: H      Recalculate the  internal  hash  tables  used  when
  4486. TEXT: H looking  up UNIX commands, and make all UNIX commands in
  4487. TEXT: H the user's PATH available for command completion.   This
  4488. TEXT: H is  useless  unless  you  have  set  unixcom  first (see
  4489. TEXT: H above).
  4490. TEXT: H
  4491. TEXT: H
  4492.  
  4493. SUBJECT: Reset
  4494. TITLE: Reset*: Reset an analysis
  4495. TEXT: H
  4496. TEXT: H _5._3._3_1.  _R_e_s_e_t*: _R_e_s_e_t _a_n _a_n_a_l_y_s_i_s
  4497. TEXT: H
  4498. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4499. TEXT: H
  4500. TEXT: H     reset
  4501. TEXT: H
  4502. TEXT: H
  4503. TEXT: H      Throw out any  intermediate  data  in  the  circuit
  4504. TEXT: H (e.g,  after  a breakpoint or after one or more analyses
  4505. TEXT: H have been done already), and re-parse  the  input  file.
  4506. TEXT: H The  circuit can then be re-run from it's initial state,
  4507. TEXT: H overriding the affect of any set or alter commands.   In
  4508. TEXT: H Spice-3e and earlier versions this was done automatical-
  4509. TEXT: H ly by the run command.
  4510. TEXT: H
  4511. TEXT: H
  4512.  
  4513. SUBJECT: Reshape
  4514. TITLE: Reshape: Alter the dimensionality or dimensions of a vector
  4515. TEXT: H
  4516. TEXT: H _5._3._3_2.  _R_e_s_h_a_p_e: _A_l_t_e_r _t_h_e _d_i_m_e_n_s_i_o_n_a_l_i_t_y _o_r _d_i_m_e_n_s_i_o_n_s  _o_f
  4517. TEXT: H _a _v_e_c_t_o_r
  4518. TEXT: H
  4519. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4520. TEXT: H
  4521. TEXT: H     reshape _v_e_c_t_o_r _v_e_c_t_o_r ...
  4522. TEXT: H     or
  4523. TEXT: H     reshape _v_e_c_t_o_r _v_e_c_t_o_r ...  [ _d_i_m_e_n_s_i_o_n, _d_i_m_e_n_s_i_o_n, ...  ]
  4524. TEXT: H     or
  4525. TEXT: H     reshape _v_e_c_t_o_r _v_e_c_t_o_r ... [ _d_i_m_e_n_s_i_o_n ][ _d_i_m_e_n_s_i_o_n ] ...
  4526. TEXT: H
  4527. TEXT: H
  4528. TEXT: H      This command changes the dimensions of a vector  or
  4529. TEXT: H a  set  of vectors.  The final dimension may be left off
  4530. TEXT: H and it will be filled in automatically.   If  no  dimen-
  4531. TEXT: H sions  are  specified,  then the dimensions of the first
  4532. TEXT: H vector are copied to the other vectors.  An  error  mes-
  4533. TEXT: H sage of the form 'dimensions of _x were inconsistent' can
  4534. TEXT: H be ignored.
  4535. TEXT: H
  4536. TEXT: H
  4537.  
  4538. SUBJECT: Resume
  4539. TITLE: Resume*: Continue a simulation after a stop
  4540. TEXT: H
  4541. TEXT: H _5._3._3_3.  _R_e_s_u_m_e*: _C_o_n_t_i_n_u_e _a _s_i_m_u_l_a_t_i_o_n _a_f_t_e_r _a _s_t_o_p
  4542. TEXT: H
  4543. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4544. TEXT: H
  4545. TEXT: H     resume
  4546. TEXT: H
  4547. TEXT: H
  4548. TEXT: H      Resume a simulation after a  stop  or  interruption
  4549. TEXT: H (control-C).
  4550. TEXT: H
  4551. TEXT: H
  4552.  
  4553. SUBJECT: Rspice
  4554. TITLE: Rspice:  Remote spice submission
  4555. TEXT: H
  4556. TEXT: H _5._3._3_4.  _R_s_p_i_c_e:  _R_e_m_o_t_e _s_p_i_c_e _s_u_b_m_i_s_s_i_o_n
  4557. TEXT: H
  4558. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4559. TEXT: H
  4560. TEXT: H     rspice _i_n_p_u_t _f_i_l_e
  4561. TEXT: H
  4562. TEXT: H
  4563. TEXT: H      Runs a SPICE-3 remotely taking the input file as  a
  4564. TEXT: H SPICE-3  input  file, or the current circuit if no argu-
  4565. TEXT: H ment is given.  Nutmeg or Spice3 waits for  the  job  to
  4566. TEXT: H complete,  and  passes output from the remote job to the
  4567. TEXT: H user's standard output.  When the job  is  finished  the
  4568. TEXT: H data is loaded in as with aspice.  If the variable _r_h_o_s_t
  4569. TEXT: H is set, nutmeg connects to this host instead of the  de-
  4570. TEXT: H fault  remote  Spice3 server machine.  This command uses
  4571. TEXT: H the "rsh" command and  thereby  requires  authentication
  4572. TEXT: H via  a  ".rhosts" file or other equivalent method.  Note
  4573. TEXT: H that "rsh" refers to the "remote shell"  program,  which
  4574. TEXT: H may  be  "remsh" on your system; to override the default
  4575. TEXT: H name of "rsh", set the variable  _r_e_m_o_t_e__s_h_e_l_l.   If  the
  4576. TEXT: H variable  _r_p_r_o_g_r_a_m  is set, then rspice uses this as the
  4577. TEXT: H pathname to the program to run on the remote system.
  4578. TEXT: H
  4579. TEXT: H      Note: rspice will  not  acknowledge  elements  that
  4580. TEXT: H have  been  changed  via  the "alter" or "altermod" com-
  4581. TEXT: H mands.
  4582. TEXT: H
  4583. TEXT: H
  4584.  
  4585. SUBJECT: Run
  4586. TITLE: Run*: Run analysis from the input file
  4587. TEXT: H
  4588. TEXT: H _5._3._3_5.  _R_u_n*: _R_u_n _a_n_a_l_y_s_i_s _f_r_o_m _t_h_e _i_n_p_u_t _f_i_l_e
  4589. TEXT: H
  4590. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4591. TEXT: H
  4592. TEXT: H     run [rawfile]
  4593. TEXT: H
  4594. TEXT: H
  4595. TEXT: H      Run the simulation as specified in the input  file.
  4596. TEXT: H If  there were any of the control lines .ac, .op, .tran,
  4597. TEXT: H or .dc, they are executed.  The output is put in rawfile
  4598. TEXT: H if it was given, in addition to being available interac-
  4599. TEXT: H tively.  In Spice-3e and  earlier  versions,  the  input
  4600. TEXT: H file  would  be  re-read  and  any affects of the set or
  4601. TEXT: H alter commands would be reversed.  This is no longer the
  4602. TEXT: H affect.
  4603. TEXT: H
  4604. TEXT: H
  4605.  
  4606. SUBJECT: Rusage
  4607. TITLE: Rusage: Resource usage
  4608. TEXT: H
  4609. TEXT: H _5._3._3_6.  _R_u_s_a_g_e: _R_e_s_o_u_r_c_e _u_s_a_g_e
  4610. TEXT: H
  4611. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4612. TEXT: H
  4613. TEXT: H     rusage [resource ...]
  4614. TEXT: H
  4615. TEXT: H
  4616. TEXT: H      Print resource usage statistics.  If any  resources
  4617. TEXT: H are  given, just print the usage of that resource.  Most
  4618. TEXT: H resources require that a circuit be  loaded.   Currently
  4619. TEXT: H valid resources are:
  4620. TEXT: H
  4621. TEXT: H elapsed           The amount of  time  elapsed  since  the  last  rusage
  4622. TEXT: H                   elaped call.
  4623. TEXT: H faults            Number of page faults and context switches (BSD only).
  4624. TEXT: H space             Data space used.
  4625. TEXT: H time              CPU time used so far.
  4626. TEXT: H
  4627. TEXT: H temp              Operating temperature.
  4628. TEXT: H tnom              Temperature at which device parameters were measured.
  4629. TEXT: H equations         Circuit Equations
  4630. TEXT: H
  4631. TEXT: H time              Total Analysis Time
  4632. TEXT: H totiter           Total iterations
  4633. TEXT: H accept            Accepted timepoints
  4634. TEXT: H rejected          Rejected timepoints
  4635. TEXT: H
  4636. TEXT: H loadtime          Time spent loading the circuit matrix and RHS.
  4637. TEXT: H reordertime       Matrix reordering time
  4638. TEXT: H lutime            L-U decomposition time
  4639. TEXT: H solvetime         Matrix solve time
  4640. TEXT: H
  4641. TEXT: H trantime          Transient analysis time
  4642. TEXT: H tranpoints        Transient timepoints
  4643. TEXT: H traniter          Transient iterations
  4644. TEXT: H trancuriters      Transient iterations for the last time point*
  4645. TEXT: H tranlutime        Transient L-U decomposition time
  4646. TEXT: H transolvetime     Transient matrix solve time
  4647. TEXT: H
  4648. TEXT: H everything        All of the above.
  4649. TEXT: H
  4650. TEXT: H * listed incorrectly as "Transient iterations per point".
  4651. TEXT: H
  4652. TEXT: H
  4653.  
  4654. SUBJECT: Save
  4655. TITLE: Save*:  Save a set of outputs
  4656. TEXT: H
  4657. TEXT: H _5._3._3_7.  _S_a_v_e*:  _S_a_v_e _a _s_e_t _o_f _o_u_t_p_u_t_s
  4658. TEXT: H
  4659. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4660. TEXT: H
  4661. TEXT: H     save [all | _o_u_t_p_u_t ...]
  4662. TEXT: H     .save [all | _o_u_t_p_u_t ...]
  4663. TEXT: H
  4664. TEXT: H
  4665. TEXT: H      Save a set of outputs, discarding the rest.   If  a
  4666. TEXT: H node has been mentioned in a save command, it appears in
  4667. TEXT: H the working plot after a run has completed,  or  in  the
  4668. TEXT: H rawfile  if  spice  is  run in batch mode.  If a node is
  4669. TEXT: H traced or plotted (see below) it  is  also  saved.   For
  4670. TEXT: H backward  compatibility,  if  there are no save commands
  4671. TEXT: H given, all outputs are saved.
  4672. TEXT: H
  4673. TEXT: H      When the keyword "all" appears in the save command,
  4674. TEXT: H all  default  values  (node  voltages and voltage source
  4675. TEXT: H currents) are saved in  addition  to  any  other  values
  4676. TEXT: H listed.
  4677. TEXT: H
  4678. TEXT: H
  4679.  
  4680. SUBJECT: Sens
  4681. TITLE: Sens*:  Run a sensitivity analysis
  4682. TEXT: H
  4683. TEXT: H _5._3._3_8.  _S_e_n_s*:  _R_u_n _a _s_e_n_s_i_t_i_v_i_t_y _a_n_a_l_y_s_i_s
  4684. TEXT: H
  4685. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4686. TEXT: H
  4687. TEXT: H     sens _o_u_t_p_u_t__v_a_r_i_a_b_l_e
  4688. TEXT: H     sens _o_u_t_p_u_t__v_a_r_i_a_b_l_e ac ( DEC | OCT | LIN ) _N _F_s_t_a_r_t _F_s_t_o_p
  4689. TEXT: H
  4690. TEXT: H
  4691. TEXT: H      Perform a Sensitivity analysis.  _o_u_t_p_u_t__v_a_r_i_a_b_l_e is
  4692. TEXT: H either  a  node  voltage (ex. "v(1)" or "v(A,out)") or a
  4693. TEXT: H current through a voltage source (ex. "i(vtest)").   The
  4694. TEXT: H first  form calculates DC sensitivities, the second form
  4695. TEXT: H calculates AC sensitivies.  The output values are in di-
  4696. TEXT: H mensions  of  change  in output per unit change of input
  4697. TEXT: H (as opposed to percent change in output or  per  percent
  4698. TEXT: H change of input).
  4699. TEXT: H
  4700. TEXT: H
  4701.  
  4702. SUBJECT: Set
  4703. TITLE: Set:  Set the value of a variable
  4704. TEXT: H
  4705. TEXT: H _5._3._3_9.  _S_e_t:  _S_e_t _t_h_e _v_a_l_u_e _o_f _a _v_a_r_i_a_b_l_e
  4706. TEXT: H
  4707. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4708. TEXT: H
  4709. TEXT: H     set [word]
  4710. TEXT: H     set [word = value] ...
  4711. TEXT: H
  4712. TEXT: H
  4713. TEXT: H      Set the value  of  word  to  be  value,  if  it  is
  4714. TEXT: H present.   You can set any word to be any value, numeric
  4715. TEXT: H or string.  If no value is given then the value  is  the
  4716. TEXT: H boolean 'true'.
  4717. TEXT: H
  4718. TEXT: H
  4719. TEXT: H      The value of _w_o_r_d may be inserted  into  a  command  by
  4720. TEXT: H writing  $_w_o_r_d.   If  a  variable is set to a list of values
  4721. TEXT: H that are enclosed in parentheses (which  must  be  separated
  4722. TEXT: H from their values by white space), the value of the variable
  4723. TEXT: H is the list.
  4724. TEXT: H
  4725. TEXT: H      The variables used by nutmeg are listed in the  follow-
  4726. TEXT: H ing section.
  4727. TEXT: H
  4728.  
  4729. SUBJECT: Setcirc
  4730. TITLE: Setcirc*: Change the current circuit
  4731. TEXT: H
  4732. TEXT: H _5._3._4_0.  _S_e_t_c_i_r_c*: _C_h_a_n_g_e _t_h_e _c_u_r_r_e_n_t _c_i_r_c_u_i_t
  4733. TEXT: H
  4734. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4735. TEXT: H
  4736. TEXT: H     setcirc [circuit name]
  4737. TEXT: H
  4738. TEXT: H
  4739. TEXT: H      The current circuit is the one that is used for the
  4740. TEXT: H simulation  commands  below.   When  a circuit is loaded
  4741. TEXT: H with the source  command  (see  below)  it  becomes  the
  4742. TEXT: H current circuit.
  4743. TEXT: H
  4744. TEXT: H
  4745.  
  4746. SUBJECT: Setplot
  4747. TITLE: Setplot:  Switch the current set of vectors
  4748. TEXT: H
  4749. TEXT: H _5._3._4_1.  _S_e_t_p_l_o_t:  _S_w_i_t_c_h _t_h_e _c_u_r_r_e_n_t _s_e_t _o_f _v_e_c_t_o_r_s
  4750. TEXT: H
  4751. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4752. TEXT: H
  4753. TEXT: H     setplot [plotname]
  4754. TEXT: H
  4755. TEXT: H
  4756. TEXT: H      Set the current plot to the  plot  with  the  given
  4757. TEXT: H name,  or  if  no  name is given, prompt the user with a
  4758. TEXT: H menu. (Note that the plots are named as they are loaded,
  4759. TEXT: H with  names like tran1 or op2.  These names are shown by
  4760. TEXT: H the setplot and display commands and are used  by  diff,
  4761. TEXT: H below.)  If the "New plot" item is selected, the current
  4762. TEXT: H plot becomes one with no vectors defined.
  4763. TEXT: H
  4764. TEXT: H      Note that here the word "plot" refers to a group of
  4765. TEXT: H vectors that are the result of one SPICE run.  When more
  4766. TEXT: H than one file is loaded in, or more  than  one  plot  is
  4767. TEXT: H present in one file, nutmeg keeps them separate and only
  4768. TEXT: H shows you the vectors in the current plot.
  4769. TEXT: H
  4770. TEXT: H
  4771.  
  4772. SUBJECT: Settype
  4773. TITLE: Settype:  Set the type of a vector
  4774. TEXT: H
  4775. TEXT: H _5._3._4_2.  _S_e_t_t_y_p_e:  _S_e_t _t_h_e _t_y_p_e _o_f _a _v_e_c_t_o_r
  4776. TEXT: H
  4777. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4778. TEXT: H
  4779. TEXT: H     settype type vector ...
  4780. TEXT: H
  4781. TEXT: H
  4782. TEXT: H      Change the type of the named vectors to type.  Type
  4783. TEXT: H names can be found in the manual page for sconvert.
  4784. TEXT: H
  4785. TEXT: H
  4786.  
  4787. SUBJECT: Shell
  4788. TITLE: Shell:  Call the command interpreter
  4789. TEXT: H
  4790. TEXT: H _5._3._4_3.  _S_h_e_l_l:  _C_a_l_l _t_h_e _c_o_m_m_a_n_d _i_n_t_e_r_p_r_e_t_e_r
  4791. TEXT: H
  4792. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4793. TEXT: H
  4794. TEXT: H     shell [ _c_o_m_m_a_n_d ]
  4795. TEXT: H
  4796. TEXT: H
  4797. TEXT: H      Call the operating  system's  command  interpreter;
  4798. TEXT: H execute  the  specified  command or call for interactive
  4799. TEXT: H use.
  4800. TEXT: H
  4801. TEXT: H
  4802.  
  4803. SUBJECT: Shift
  4804. TITLE: Shift:  Alter a list variable
  4805. TEXT: H
  4806. TEXT: H _5._3._4_4.  _S_h_i_f_t:  _A_l_t_e_r _a _l_i_s_t _v_a_r_i_a_b_l_e
  4807. TEXT: H
  4808. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4809. TEXT: H
  4810. TEXT: H     shift [varname] [number]
  4811. TEXT: H
  4812. TEXT: H
  4813. TEXT: H      If _v_a_r_n_a_m_e is the name of a list  variable,  it  is
  4814. TEXT: H shifted  to the left by _n_u_m_b_e_r elements (i.e, the _n_u_m_b_e_r
  4815. TEXT: H leftmost elements are removed).  The default _v_a_r_n_a_m_e  is
  4816. TEXT: H argv, and the default _n_u_m_b_e_r is 1.
  4817. TEXT: H
  4818. TEXT: H
  4819.  
  4820. SUBJECT: Show
  4821. TITLE: Show*: List device state
  4822. TEXT: H
  4823. TEXT: H _5._3._4_5.  _S_h_o_w*: _L_i_s_t _d_e_v_i_c_e _s_t_a_t_e
  4824. TEXT: H
  4825. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4826. TEXT: H
  4827. TEXT: H     show _d_e_v_i_c_e_s [ : _p_a_r_a_m_e_t_e_r_s ] , ...
  4828. TEXT: H
  4829. TEXT: H
  4830. TEXT: H _O_l_d _F_o_r_m
  4831. TEXT: H
  4832. TEXT: H     show -v @_d_e_v_i_c_e [ [ _n_a_m_e ] ]
  4833. TEXT: H
  4834. TEXT: H
  4835. TEXT: H      The show command prints out tables summarizing  the
  4836. TEXT: H operating  condition  of selected devices (much like the
  4837. TEXT: H spice2 operation point summary).  If _d_e_v_i_c_e is  missing,
  4838. TEXT: H a default set of devices are listed, if _d_e_v_i_c_e is a sin-
  4839. TEXT: H gle letter, devices of that type are listed;  if  _d_e_v_i_c_e
  4840. TEXT: H is  a subcircuit name (beginning and ending in ":") only
  4841. TEXT: H devices in that subcircuit are shown (end the name in  a
  4842. TEXT: H double-":"  to get devices within sub-subcircuits recur-
  4843. TEXT: H sively).  The second and third  forms  may  be  combined
  4844. TEXT: H ("letter:subcircuit:")   or   "letter:subcircuit::")  to
  4845. TEXT: H select a specific type of device from a  subcircuit.   A
  4846. TEXT: H device's  full  name  may be specified to list only that
  4847. TEXT: H device.  Finally, devices may be selected  by  model  by
  4848. TEXT: H using  the  form "#modelname" or ":subcircuit#modelname"
  4849. TEXT: H or "letter:subcircuit#modelname".
  4850. TEXT: H
  4851. TEXT: H      If no _p_a_r_a_m_e_t_e_r_s are specified, the  values  for  a
  4852. TEXT: H standard  set  of parameters are listed.  If the list of
  4853. TEXT: H _p_a_r_a_m_e_t_e_r_s contains a "+", the default set of parameters
  4854. TEXT: H is listed along with any other specified parameters.
  4855. TEXT: H
  4856. TEXT: H      For both _d_e_v_i_c_e_s and _p_a_r_a_m_e_t_e_r_s, the word "all" has
  4857. TEXT: H the   obvious  meaning.   Note:  there  must  be  spaces
  4858. TEXT: H separating the ":" that divides the _d_e_v_i_c_e list from the
  4859. TEXT: H _p_a_r_a_m_e_t_e_r list.
  4860. TEXT: H
  4861. TEXT: H      The "old form" (with "-v") prints  the  data  in  a
  4862. TEXT: H older, more verbose pre-spice3f format.
  4863. TEXT: H
  4864. TEXT: H
  4865.  
  4866. SUBJECT: Showmod
  4867. TITLE: Showmod*: List model parameter values
  4868. TEXT: H
  4869. TEXT: H _5._3._4_6.  _S_h_o_w_m_o_d*: _L_i_s_t _m_o_d_e_l _p_a_r_a_m_e_t_e_r _v_a_l_u_e_s
  4870. TEXT: H
  4871. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4872. TEXT: H
  4873. TEXT: H     showmod _m_o_d_e_l_s [ : _p_a_r_a_m_e_t_e_r_s ] , ...
  4874. TEXT: H
  4875. TEXT: H
  4876. TEXT: H      The showmod command operates like the show  command
  4877. TEXT: H (above)  but prints out model parameter values.  The ap-
  4878. TEXT: H plicable forms for _m_o_d_e_l_s are a single letter specifying
  4879. TEXT: H the  device  type letter, "letter:subckt:", "modelname",
  4880. TEXT: H ":subckt:modelname", or "letter:subcircuit:modelname".
  4881. TEXT: H
  4882. TEXT: H
  4883.  
  4884. SUBJECT: Source
  4885. TITLE: Source:  Read a Spice3 input file
  4886. TEXT: H
  4887. TEXT: H _5._3._4_7.  _S_o_u_r_c_e:  _R_e_a_d _a _S_p_i_c_e_3 _i_n_p_u_t _f_i_l_e
  4888. TEXT: H
  4889. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4890. TEXT: H
  4891. TEXT: H     source _f_i_l_e
  4892. TEXT: H
  4893. TEXT: H
  4894. TEXT: H      For Spice3: Read the Spice3 input file file.   Nut-
  4895. TEXT: H meg and Spice3 commands may be included in the file, and
  4896. TEXT: H must be enclosed between the lines ._c_o_n_t_r_o_l  and  ._e_n_d_c.
  4897. TEXT: H These  commands  are executed immediately after the cir-
  4898. TEXT: H cuit is loaded, so a control line of _a_c  ...  works  the
  4899. TEXT: H same  as  the corresponding ._a_c card.  The first line in
  4900. TEXT: H any input file is considered a title line and not parsed
  4901. TEXT: H but  kept  as the name of the circuit.  The exception to
  4902. TEXT: H this rule is the file ._s_p_i_c_e_i_n_i_t.  Thus, a  Spice3  com-
  4903. TEXT: H mand script must begin with a blank line and then with a
  4904. TEXT: H acters  *#  is considered a control line.  This makes it
  4905. TEXT: H possible to imbed commands in Spice3  input  files  that
  4906. TEXT: H are ignored by earlier versions of Spice2
  4907. TEXT: H
  4908. TEXT: H      For Nutmeg: Reads commands from the file  _f_i_l_e_n_a_m_e.
  4909. TEXT: H Lines beginning with the character * are considered com-
  4910. TEXT: H ments and ignored.
  4911. TEXT: H
  4912. TEXT: H
  4913.  
  4914. SUBJECT: Status
  4915. TITLE: Status*: Display breakpoint information
  4916. TEXT: H
  4917. TEXT: H _5._3._4_8.  _S_t_a_t_u_s*: _D_i_s_p_l_a_y _b_r_e_a_k_p_o_i_n_t _i_n_f_o_r_m_a_t_i_o_n
  4918. TEXT: H
  4919. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4920. TEXT: H
  4921. TEXT: H     status
  4922. TEXT: H
  4923. TEXT: H
  4924. TEXT: H      Display all of the traces and breakpoints currently
  4925. TEXT: H in effect.
  4926. TEXT: H
  4927. TEXT: H
  4928.  
  4929. SUBJECT: Step
  4930. TITLE: Step*:  Run a fixed number of timepoints
  4931. TEXT: H
  4932. TEXT: H _5._3._4_9.  _S_t_e_p*:  _R_u_n _a _f_i_x_e_d _n_u_m_b_e_r _o_f _t_i_m_e_p_o_i_n_t_s
  4933. TEXT: H
  4934. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4935. TEXT: H
  4936. TEXT: H     step [number]
  4937. TEXT: H
  4938. TEXT: H
  4939. TEXT: H      Iterate number times, or once, and then stop.
  4940. TEXT: H
  4941. TEXT: H
  4942.  
  4943. SUBJECT: Stop
  4944. TITLE: Stop*:  Set a breakpoint
  4945. TEXT: H
  4946. TEXT: H _5._3._5_0.  _S_t_o_p*:  _S_e_t _a _b_r_e_a_k_p_o_i_n_t
  4947. TEXT: H
  4948. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4949. TEXT: H
  4950. TEXT: H     stop [ after n] [ when _v_a_l_u_e _c_o_n_d _v_a_l_u_e ] ...
  4951. TEXT: H
  4952. TEXT: H
  4953. TEXT: H      Set a breakpoint.  The argument after n means  stop
  4954. TEXT: H after  n iteration number n, and the argument when _v_a_l_u_e
  4955. TEXT: H _c_o_n_d _v_a_l_u_e means stop when the first  _v_a_l_u_e  is  in  the
  4956. TEXT: H given relation with the second _v_a_l_u_e, the possible rela-
  4957. TEXT: H tions being
  4958. TEXT: H
  4959. TEXT: H           eq   or   =    equal to
  4960. TEXT: H           ne   or   <>   not equal to
  4961. TEXT: H           gt   or   >    greater than
  4962. TEXT: H           lt   or   <    less than
  4963. TEXT: H           ge   or   >=   greater than or equal to
  4964. TEXT: H           le   or   <=   less than or equal to
  4965. TEXT: H
  4966. TEXT: H
  4967. TEXT: H IO redirection is disabled for the stop command,  since  the
  4968. TEXT: H relational  operations  conflict with it (it doesn't produce
  4969. TEXT: H any output anyway).  The _v_a_l_u_es above may be node  names  in
  4970. TEXT: H the  running circuit, or real values.  If more than one con-
  4971. TEXT: H dition is given, e.g.  stop after 4 when v(1) > 4 when  v(2)
  4972. TEXT: H < 2, the conjunction of the conditions is implied.
  4973. TEXT: H
  4974. TEXT: H
  4975.  
  4976. SUBJECT: Tf
  4977. TITLE: Tf*: Run a Transfer Function analysis
  4978. TEXT: H
  4979. TEXT: H _5._3._5_1.  _T_f*: _R_u_n _a _T_r_a_n_s_f_e_r _F_u_n_c_t_i_o_n _a_n_a_l_y_s_i_s
  4980. TEXT: H
  4981. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  4982. TEXT: H
  4983. TEXT: H     tf _o_u_t_p_u_t__n_o_d_e _i_n_p_u_t__s_o_u_r_c_e
  4984. TEXT: H
  4985. TEXT: H
  4986. TEXT: H      The  tf  command  performs  a   transfer   function
  4987. TEXT: H analysis,     returning     the     transfer    function
  4988. TEXT: H (output/input), output resistance, and input  resistance
  4989. TEXT: H between  the  given  output  node  and  the  given input
  4990. TEXT: H source.  The analysis assumes a small-signal DC  (slowly
  4991. TEXT: H varying) input.
  4992. TEXT: H
  4993. TEXT: H
  4994.  
  4995. SUBJECT: Trace
  4996. TITLE: Trace*: Trace nodes
  4997. TEXT: H
  4998. TEXT: H _5._3._5_2.  _T_r_a_c_e*: _T_r_a_c_e _n_o_d_e_s
  4999. TEXT: H
  5000. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5001. TEXT: H
  5002. TEXT: H     trace [ node ...]
  5003. TEXT: H
  5004. TEXT: H
  5005. TEXT: H      For every step of an analysis,  the  value  of  the
  5006. TEXT: H node  is printed.  Several traces may be active at once.
  5007. TEXT: H Tracing is not applicable for all analyses.  To remove a
  5008. TEXT: H trace, use the delete command.
  5009. TEXT: H
  5010. TEXT: H
  5011.  
  5012. SUBJECT: Tran
  5013. TITLE: Tran*: Perform a transient analysis
  5014. TEXT: H
  5015. TEXT: H _5._3._5_3.  _T_r_a_n*: _P_e_r_f_o_r_m _a _t_r_a_n_s_i_e_n_t _a_n_a_l_y_s_i_s
  5016. TEXT: H
  5017. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5018. TEXT: H
  5019. TEXT: H     tran _T_s_t_e_p _T_s_t_o_p [ _T_s_t_a_r_t [ _T_m_a_x ] ] [ UIC ]
  5020. TEXT: H
  5021. TEXT: H
  5022. TEXT: H      Perform a transient  analysis.   See  the  previous
  5023. TEXT: H sections of this manual for more details.
  5024. TEXT: H
  5025. TEXT: H
  5026.  
  5027. SUBJECT: Transpose
  5028. TITLE: Transpose: Swap the elements in a multi-dimensional data set
  5029. TEXT: H
  5030. TEXT: H _5._3._5_4.  _T_r_a_n_s_p_o_s_e: _S_w_a_p _t_h_e _e_l_e_m_e_n_t_s _i_n _a _m_u_l_t_i-_d_i_m_e_n_s_i_o_n_a_l
  5031. TEXT: H _d_a_t_a _s_e_t
  5032. TEXT: H
  5033. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5034. TEXT: H
  5035. TEXT: H     transpose _v_e_c_t_o_r _v_e_c_t_o_r ...
  5036. TEXT: H
  5037. TEXT: H
  5038. TEXT: H      This command transposes a multidimensional  vector.
  5039. TEXT: H No analysis in Spice3 produces multidimensional vectors,
  5040. TEXT: H although the DC transfer curve may be run with two vary-
  5041. TEXT: H ing  sources.  You must use the "reshape" command to re-
  5042. TEXT: H form the one-dimensional vectors  into  two  dimensional
  5043. TEXT: H vectors.   In  addition,  the default scale is incorrect
  5044. TEXT: H for  plotting.   You  must  plot   versus   the   vector
  5045. TEXT: H corresponding  to  the  second source, but you must also
  5046. TEXT: H refer only to the first segment of  this  second  source
  5047. TEXT: H vector.   For  example  (circuit  to produce the tranfer
  5048. TEXT: H characteristic of a MOS transistor):
  5049. TEXT: H
  5050. TEXT: H     spice3 > dc vgg 0 5 1 vdd 0 5 1
  5051. TEXT: H     spice3 > plot i(vdd)
  5052. TEXT: H     spice3 > reshape all [6,6]
  5053. TEXT: H     spice3 > transpose i(vdd) v(drain)
  5054. TEXT: H     spice3 > plot i(vdd) vs v(drain)[0]
  5055. TEXT: H
  5056. TEXT: H
  5057. TEXT: H
  5058.  
  5059. SUBJECT: Unalias
  5060. TITLE: Unalias:  Retract an alias
  5061. TEXT: H
  5062. TEXT: H _5._3._5_5.  _U_n_a_l_i_a_s:  _R_e_t_r_a_c_t _a_n _a_l_i_a_s
  5063. TEXT: H
  5064. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5065. TEXT: H
  5066. TEXT: H     unalias [word ...]
  5067. TEXT: H
  5068. TEXT: H
  5069. TEXT: H      Removes any aliases present for the words.
  5070. TEXT: H
  5071. TEXT: H
  5072.  
  5073. SUBJECT: Undefine
  5074. TITLE: Undefine:  Retract a definition
  5075. TEXT: H
  5076. TEXT: H _5._3._5_6.  _U_n_d_e_f_i_n_e:  _R_e_t_r_a_c_t _a _d_e_f_i_n_i_t_i_o_n
  5077. TEXT: H
  5078. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5079. TEXT: H
  5080. TEXT: H     undefine function
  5081. TEXT: H
  5082. TEXT: H
  5083. TEXT: H      Definitions for the  named  user-defined  functions
  5084. TEXT: H are deleted.
  5085. TEXT: H
  5086. TEXT: H
  5087.  
  5088. SUBJECT: Unset
  5089. TITLE: Unset:  Clear a variable
  5090. TEXT: H
  5091. TEXT: H _5._3._5_7.  _U_n_s_e_t:  _C_l_e_a_r _a _v_a_r_i_a_b_l_e
  5092. TEXT: H
  5093. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5094. TEXT: H
  5095. TEXT: H     unset [_w_o_r_d ...]
  5096. TEXT: H
  5097. TEXT: H
  5098. TEXT: H      Clear  the  value  of  the  specified   variable(s)
  5099. TEXT: H (_w_o_r_d).
  5100. TEXT: H
  5101. TEXT: H
  5102.  
  5103. SUBJECT: Version
  5104. TITLE: Version:  Print the version of Spice
  5105. TEXT: H
  5106. TEXT: H _5._3._5_8.  _V_e_r_s_i_o_n:  _P_r_i_n_t _t_h_e _v_e_r_s_i_o_n _o_f _S_p_i_c_e
  5107. TEXT: H
  5108. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5109. TEXT: H
  5110. TEXT: H     version [version id]
  5111. TEXT: H
  5112. TEXT: H
  5113. TEXT: H      Print out the version of nutmeg  that  is  running.
  5114. TEXT: H If  there are arguments, it checks to make sure that the
  5115. TEXT: H arguments match the current version of SPICE.  (This  is
  5116. TEXT: H mainly used as a Command: line in rawfiles.)
  5117. TEXT: H
  5118. TEXT: H
  5119.  
  5120. SUBJECT: Where
  5121. TITLE: Where:  Identify troublesome node or device
  5122. TEXT: H
  5123. TEXT: H _5._3._5_9.  _W_h_e_r_e:  _I_d_e_n_t_i_f_y _t_r_o_u_b_l_e_s_o_m_e _n_o_d_e _o_r _d_e_v_i_c_e
  5124. TEXT: H
  5125. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5126. TEXT: H
  5127. TEXT: H     where
  5128. TEXT: H
  5129. TEXT: H
  5130. TEXT: H      When performing  a  transient  or  operating  point
  5131. TEXT: H analysis,  the  name of the last node or device to cause
  5132. TEXT: H non-convergence is saved.  The where command prints  out
  5133. TEXT: H this information so that you can examine the circuit and
  5134. TEXT: H either correct the problem or make a  bug  report.   You
  5135. TEXT: H may  do  this either in the middle of a run or after the
  5136. TEXT: H simulator has given up on the analysis.   For  transient
  5137. TEXT: H simulation, the iplot command can be used to monitor the
  5138. TEXT: H progress of the analysis.  When the analysis slows  down
  5139. TEXT: H severly   or   hangs,   interrupt  the  simulator  (with
  5140. TEXT: H control-C) and issue the where command.  Note that  only
  5141. TEXT: H one  node  or  device  is printed; there may be problems
  5142. TEXT: H with more than one node.
  5143. TEXT: H
  5144. TEXT: H
  5145.  
  5146. SUBJECT: Write
  5147. TITLE: Write: Write data to a file
  5148. TEXT: H
  5149. TEXT: H _5._3._6_0.  _W_r_i_t_e: _W_r_i_t_e _d_a_t_a _t_o _a _f_i_l_e
  5150. TEXT: H
  5151. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5152. TEXT: H
  5153. TEXT: H     write [file] [exprs]
  5154. TEXT: H
  5155. TEXT: H
  5156. TEXT: H      Writes out the expressions to _f_i_l_e.
  5157. TEXT: H
  5158. TEXT: H      First vectors are grouped together  by  plots,  and
  5159. TEXT: H written  out  as  such (i.e, if the expression list con-
  5160. TEXT: H tained three vectors from one plot and two from another,
  5161. TEXT: H then  two  plots are written, one with three vectors and
  5162. TEXT: H one with two).  Additionally, if the scale for a  vector
  5163. TEXT: H isn't present, it is automatically written out as well.
  5164. TEXT: H
  5165. TEXT: H      The default  format  is  ascii,  but  this  can  be
  5166. TEXT: H changed  with  the  set  filetype  command.  The default
  5167. TEXT: H filename is rawspice.raw, or the argument to the -r flag
  5168. TEXT: H on  the  command line, if there was one, and the default
  5169. TEXT: H expression list is all.
  5170. TEXT: H
  5171. TEXT: H
  5172.  
  5173. SUBJECT: Xgraph
  5174. TITLE: Xgraph: use the xgraph(1) program for plotting.
  5175. TEXT: H
  5176. TEXT: H _5._3._6_1.  _X_g_r_a_p_h: _u_s_e _t_h_e _x_g_r_a_p_h(_1) _p_r_o_g_r_a_m _f_o_r _p_l_o_t_t_i_n_g.
  5177. TEXT: H
  5178. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5179. TEXT: H
  5180. TEXT: H     xgraph _f_i_l_e [exprs] [plot options]
  5181. TEXT: H
  5182. TEXT: H
  5183. TEXT: H      The spice3/nutmeg xgraph command  plots  data  like
  5184. TEXT: H the  plot command but via xgraph, a popular X11 plotting
  5185. TEXT: H program.
  5186. TEXT: H
  5187. TEXT: H      If _f_i_l_e is either "temp" or "tmp" a temporary  file
  5188. TEXT: H is  used  to  hold  the  data  while being plotted.  For
  5189. TEXT: H available plot options, see the plot command.   All  op-
  5190. TEXT: H tions except for polar or smith plots are supported.
  5191. TEXT: H
  5192.  
  5193. SUBJECT: CONTROL STRUCTURES
  5194. TITLE: CONTROL STRUCTURES
  5195. TEXT: H
  5196. TEXT: H _5._4.  _C_O_N_T_R_O_L _S_T_R_U_C_T_U_R_E_S
  5197. TEXT: H
  5198. TEXT: H
  5199. SUBTOPIC: SPICE:While End
  5200. SUBTOPIC: SPICE:Repeat End
  5201. SUBTOPIC: SPICE:Dowhile End
  5202. SUBTOPIC: SPICE:Foreach End
  5203. SUBTOPIC: SPICE:If Then Else
  5204. SUBTOPIC: SPICE:Label
  5205. SUBTOPIC: SPICE:Goto
  5206. SUBTOPIC: SPICE:Continue
  5207. SUBTOPIC: SPICE:Break
  5208.  
  5209. SUBJECT: While End
  5210. TITLE: While - End
  5211. TEXT: H
  5212. TEXT: H _5._4._1.  _W_h_i_l_e - _E_n_d
  5213. TEXT: H
  5214. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5215. TEXT: H
  5216. TEXT: H     while _c_o_n_d_i_t_i_o_n
  5217. TEXT: H             statement
  5218. TEXT: H             ...
  5219. TEXT: H     end
  5220. TEXT: H
  5221. TEXT: H
  5222. TEXT: H      While _c_o_n_d_i_t_i_o_n, an arbitrary algebraic expression,
  5223. TEXT: H is true, execute the statements.
  5224. TEXT: H
  5225. TEXT: H
  5226.  
  5227. SUBJECT: Repeat End
  5228. TITLE: Repeat - End
  5229. TEXT: H
  5230. TEXT: H _5._4._2.  _R_e_p_e_a_t - _E_n_d
  5231. TEXT: H
  5232. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5233. TEXT: H
  5234. TEXT: H     repeat [_n_u_m_b_e_r]
  5235. TEXT: H             statement
  5236. TEXT: H             ...
  5237. TEXT: H     end
  5238. TEXT: H
  5239. TEXT: H
  5240. TEXT: H      Execute the statements _n_u_m_b_e_r times, or forever  if
  5241. TEXT: H no argument is given.
  5242. TEXT: H
  5243. TEXT: H
  5244.  
  5245. SUBJECT: Dowhile End
  5246. TITLE: Dowhile - End
  5247. TEXT: H
  5248. TEXT: H _5._4._3.  _D_o_w_h_i_l_e - _E_n_d
  5249. TEXT: H
  5250. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5251. TEXT: H
  5252. TEXT: H     dowhile _c_o_n_d_i_t_i_o_n
  5253. TEXT: H             statement
  5254. TEXT: H             ...
  5255. TEXT: H     end
  5256. TEXT: H
  5257. TEXT: H
  5258. TEXT: H      The same as while, except  that  the  _c_o_n_d_i_t_i_o_n  is
  5259. TEXT: H tested after the statements are executed.
  5260. TEXT: H
  5261. TEXT: H
  5262.  
  5263. SUBJECT: Foreach End
  5264. TITLE: Foreach - End
  5265. TEXT: H
  5266. TEXT: H _5._4._4.  _F_o_r_e_a_c_h - _E_n_d
  5267. TEXT: H
  5268. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5269. TEXT: H
  5270. TEXT: H     foreach _v_a_r _v_a_l_u_e ...
  5271. TEXT: H             statement
  5272. TEXT: H             ...
  5273. TEXT: H     end
  5274. TEXT: H
  5275. TEXT: H
  5276. TEXT: H      The statements are executed once for  each  of  the
  5277. TEXT: H _v_a_l_u_es,  each  time  with  the  variable  _v_a_r set to the
  5278. TEXT: H current one.  (_v_a_r can be accessed by the $_v_a_r  notation
  5279. TEXT: H - see below).
  5280. TEXT: H
  5281. TEXT: H
  5282.  
  5283. SUBJECT: If Then Else
  5284. TITLE: If - Then - Else
  5285. TEXT: H
  5286. TEXT: H _5._4._5.  _I_f - _T_h_e_n - _E_l_s_e
  5287. TEXT: H
  5288. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5289. TEXT: H
  5290. TEXT: H     if _c_o_n_d_i_t_i_o_n
  5291. TEXT: H             statement
  5292. TEXT: H             ...
  5293. TEXT: H     else
  5294. TEXT: H             statement
  5295. TEXT: H             ...
  5296. TEXT: H     end
  5297. TEXT: H
  5298. TEXT: H
  5299. TEXT: H      If the _c_o_n_d_i_t_i_o_n is non-zero then the first set  of
  5300. TEXT: H statements  are executed, otherwise the second set.  The
  5301. TEXT: H else and the second set of statements may be omitted.
  5302. TEXT: H
  5303. TEXT: H
  5304.  
  5305. SUBJECT: Label
  5306. TITLE: Label
  5307. TEXT: H
  5308. TEXT: H _5._4._6.  _L_a_b_e_l
  5309. TEXT: H
  5310. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5311. TEXT: H
  5312. TEXT: H     label _w_o_r_d
  5313. TEXT: H
  5314. TEXT: H
  5315. TEXT: H      If a statement of the form  goto  _w_o_r_d  is  encoun-
  5316. TEXT: H tered,  control  is transferred to this point, otherwise
  5317. TEXT: H this is a no-op.
  5318. TEXT: H
  5319. TEXT: H
  5320.  
  5321. SUBJECT: Goto
  5322. TITLE: Goto
  5323. TEXT: H
  5324. TEXT: H _5._4._7.  _G_o_t_o
  5325. TEXT: H
  5326. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5327. TEXT: H
  5328. TEXT: H     goto _w_o_r_d
  5329. TEXT: H
  5330. TEXT: H
  5331. TEXT: H      If a statement of the form label _w_o_r_d is present in
  5332. TEXT: H the  block or an enclosing block, control is transferred
  5333. TEXT: H there.  Note that if the label is at the top  level,  it
  5334. TEXT: H _m_u_s_t  be  before the goto _s_t_a_t_e_m_e_n_t (_i._e, _a _f_o_r_w_a_r_d _g_o_t_o
  5335. TEXT: H may occur only within a block).
  5336. TEXT: H
  5337. TEXT: H
  5338.  
  5339. SUBJECT: Continue
  5340. TITLE: Continue
  5341. TEXT: H
  5342. TEXT: H _5._4._8.  _C_o_n_t_i_n_u_e
  5343. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5344. TEXT: H
  5345. TEXT: H     continue
  5346. TEXT: H
  5347. TEXT: H
  5348. TEXT: H      If there is a while, dowhile, or foreach block  en-
  5349. TEXT: H closing  this  statement, control passes to the test, or
  5350. TEXT: H in the case of foreach, the next value is taken.  Other-
  5351. TEXT: H wise an error results.
  5352. TEXT: H
  5353. TEXT: H
  5354.  
  5355. SUBJECT: Break
  5356. TITLE: Break
  5357. TEXT: H
  5358. TEXT: H _5._4._9.  _B_r_e_a_k
  5359. TEXT: H
  5360. TEXT: H _G_e_n_e_r_a_l _F_o_r_m
  5361. TEXT: H
  5362. TEXT: H     break
  5363. TEXT: H
  5364. TEXT: H
  5365. TEXT: H      If there is a while, dowhile, or foreach block  en-
  5366. TEXT: H closing this statement, control passes out of the block.
  5367. TEXT: H Otherwise an error results.
  5368. TEXT: H
  5369. TEXT: H      Of course, control structures may be nested.   When
  5370. TEXT: H a  block  is  entered and the input is the terminal, the
  5371. TEXT: H prompt becomes a number  of  >'s  corresponding  to  the
  5372. TEXT: H number of blocks the user has entered.  The current con-
  5373. TEXT: H trol structures may be examined with the debugging  com-
  5374. TEXT: H mand _c_d_u_m_p.
  5375. TEXT: H
  5376.  
  5377. SUBJECT: VARIABLES
  5378. TITLE: VARIABLES
  5379. TEXT: H
  5380. TEXT: H _5._5.  _V_A_R_I_A_B_L_E_S
  5381. TEXT: H
  5382. TEXT: H
  5383. TEXT: H      The operation of both Nutmeg and Spice3 may be affected
  5384. TEXT: H by setting variables with the "set" command.  In addition to
  5385. TEXT: H the variables mentioned below, the  set  command  in  Spice3
  5386. TEXT: H also  affect  the behaviour of the simulator via the options
  5387. TEXT: H previously described under the section on ".OPTIONS".
  5388. TEXT: H
  5389. TEXT: H      The variables meaningful to nutmeg which may be altered
  5390. TEXT: H by the set command are:
  5391. TEXT: H
  5392. TEXT: H diff_abstol       The absolute tolerance used by the diff command.
  5393. TEXT: H appendwrite       Append to the file when a write command  is  is-
  5394. TEXT: H                   sued, if one already exists.
  5395. TEXT: H color_N           These variables determine the colors used, if  X
  5396. TEXT: H                   is  being  run  on  a  color  display.  _N may be
  5397. TEXT: H                   between 0 and 15.  Color 0  is  the  background,
  5398. TEXT: H                   color 1 is the grid and text color, and colors 2
  5399. TEXT: H                   through 15 are used in order for  vectors  plot-
  5400. TEXT: H                   ted.  The value of the color variables should be
  5401. TEXT: H                   names of colors, which may be found in the  file
  5402. TEXT: H                   /usr/lib/rgb.txt.
  5403. TEXT: H combplot          Plot vectors by drawing  a  vertical  line  from
  5404. TEXT: H                   each  point to the X-axis, as opposed to joining
  5405. TEXT: H                   the points.  Note that this option  is  subsumed
  5406. TEXT: H                   in the _p_l_o_t_t_y_p_e option, below.
  5407. TEXT: H cpdebug           Print _c_s_h_p_a_r debugging information (must be com-
  5408. TEXT: H                   plied  with the -DCPDEBUG flag).  Unsupported in
  5409. TEXT: H                   the current release.
  5410. TEXT: H
  5411. TEXT: H
  5412. TEXT: H debug             If set then a lot of debugging information is
  5413. TEXT: H                   printed (must be compiled with the -DFTEDEBUG
  5414. TEXT: H                   flag).  Unsupported in the current release.
  5415. TEXT: H device            The name (/dev/tty??) of the graphics device.
  5416. TEXT: H                   If  this  variable  isn't set then the user's
  5417. TEXT: H                   terminal is used.  To do plotting on  another
  5418. TEXT: H                   monitor  you  probably  have  to set both the
  5419. TEXT: H                   device and term variables.  (If device is set
  5420. TEXT: H                   to  the  name  of  a  file,  nutmeg dumps the
  5421. TEXT: H                   graphics control codes into this file -- this
  5422. TEXT: H                   is useful for saving plots.)
  5423. TEXT: H echo              Print out each command before it is executed.
  5424. TEXT: H filetype          This can  be  either  _a_s_c_i_i  or  _b_i_n_a_r_y,  and
  5425. TEXT: H                   determines  what  format are.  The default is
  5426. TEXT: H                   _a_s_c_i_i.
  5427. TEXT: H
  5428. TEXT: H
  5429. TEXT: H  fourgridsize      How many points to use for interpolating
  5430. TEXT: H                    into when doing fourier analysis.
  5431. TEXT: H  gridsize          If this variable is set to  an  integer,
  5432. TEXT: H                    this  number  is  used  as the number of
  5433. TEXT: H                    equally spaced points to use for the  Y-
  5434. TEXT: H                    axis   when   plotting.   Otherwise  the
  5435. TEXT: H                    current scale is  used  (which  may  not
  5436. TEXT: H                    have  equally  spaced  points).   If the
  5437. TEXT: H                    current scale isn't strictly  monotonic,
  5438. TEXT: H                    then this option has no effect.
  5439. TEXT: H  hcopydev          If this is set, when the  hardcopy  com-
  5440. TEXT: H                    mand  is  run  the resulting file is au-
  5441. TEXT: H                    tomatically printed on the printer named
  5442. TEXT: H                    hcopydev with the command _l_p_r -_Phcopydev
  5443. TEXT: H                    -_g file.
  5444. TEXT: H
  5445. TEXT: H
  5446. TEXT: H  hcopyfont         This variable specifies  the  font  name
  5447. TEXT: H                    for hardcopy output plots.  The value is
  5448. TEXT: H                    device dependent.
  5449. TEXT: H  hcopyfontsize     This is a scaling factor  for  the  font
  5450. TEXT: H                    used in hardcopy plots.
  5451. TEXT: H  hcopydevtype      This variable specifies the type of  the
  5452. TEXT: H                    printer  output  to  use in the hardcopy
  5453. TEXT: H                    command.  If hcopydevtype  is  not  set,
  5454. TEXT: H                    plot  (5)  format is assumed.  The stan-
  5455. TEXT: H                    dard distribution  currently  recognizes
  5456. TEXT: H                    postscript as an alternative output for-
  5457. TEXT: H                    mat.   When  used  in  conjunction  with
  5458. TEXT: H                    hcopydev,  hcopydevtype should specify a
  5459. TEXT: H                    format supported by the printer.
  5460. TEXT: H  height            The length of the page for asciiplot and
  5461. TEXT: H                    print col.
  5462. TEXT: H  history           The number of events to save in the his-
  5463. TEXT: H                    tory list.
  5464. TEXT: H  lprplot5          This is a printf(3s) style format string
  5465. TEXT: H                    used  to  specify the command to use for
  5466. TEXT: H                    sending plot(5)-style plots to a printer
  5467. TEXT: H                    or  plotter.   The  first parameter sup-
  5468. TEXT: H                    plied is the printer  name,  the  second
  5469. TEXT: H                    parameter  supplied  is a file name con-
  5470. TEXT: H                    taining the plot.  Both  parameters  are
  5471. TEXT: H                    strings.   It is trivial to cause Spice3
  5472. TEXT: H                    to abort  by  supplying  a  unreasonable
  5473. TEXT: H                    format string.
  5474. TEXT: H  lprps             This is a printf(3s) style format string
  5475. TEXT: H                    used  to  specify the command to use for
  5476. TEXT: H                    sending PostScript plots to a printer or
  5477. TEXT: H                    plotter.   The  first parameter supplied
  5478. TEXT: H                    is the printer name, the second  parame-
  5479. TEXT: H                    ter  supplied  is a file name containing
  5480. TEXT: H                    the plot.  Both parameters are  strings.
  5481. TEXT: H                    It  is  trivial to cause Spice3 to abort
  5482. TEXT: H                    by  supplying  a   unreasonable   format
  5483. TEXT: H                    string.
  5484. TEXT: H  nfreqs            The number of frequencies to compute  in
  5485. TEXT: H                    the _f_o_u_r_i_e_r command. (Defaults to 10.)
  5486. TEXT: H  nobreak           Don't have asciiplot and print col break
  5487. TEXT: H                    between pages.
  5488. TEXT: H
  5489. TEXT: H
  5490. TEXT: H noasciiplotvalue   Don't print the first vector plotted  to
  5491. TEXT: H                    the left when doing an asciiplot.
  5492. TEXT: H noclobber          Don't overwrite existing files when  do-
  5493. TEXT: H                    ing IO redirection.
  5494. TEXT: H noglob             Don't expand the global characters  `*',
  5495. TEXT: H                    `?', `[', and `]'.  This is the default.
  5496. TEXT: H nogrid             Don't plot a grid when  graphing  curves
  5497. TEXT: H                    (but do label the axes).
  5498. TEXT: H nomoremode         If nomoremode is  not  set,  whenever  a
  5499. TEXT: H                    large amount of data is being printed to
  5500. TEXT: H                    the screen (e.g, the print or  asciiplot
  5501. TEXT: H                    commands),  the  output is stopped every
  5502. TEXT: H                    screenful and continues when a  carriage
  5503. TEXT: H                    return  is  typed.  If nomoremode is set
  5504. TEXT: H                    then data scrolls off the screen without
  5505. TEXT: H                    check.
  5506. TEXT: H nonomatch          If noglob is unset and a global  expres-
  5507. TEXT: H                    sion  cannot  be matched, use the global
  5508. TEXT: H                    characters  literally  instead  of  com-
  5509. TEXT: H                    plaining.
  5510. TEXT: H
  5511. TEXT: H
  5512. TEXT: H nosort            Don't have display sort the variable names.
  5513. TEXT: H noprintscale      Don't  print  the  scale  in  the  leftmost
  5514. TEXT: H                   column when a print col command is given.
  5515. TEXT: H numdgt            The number of digits to print when printing
  5516. TEXT: H                   tables  of  data (fourier, print col).  The
  5517. TEXT: H                   default precision is 6 digits.  On the VAX,
  5518. TEXT: H                   approximately  16 decimal digits are avail-
  5519. TEXT: H                   able  using  double  precision,  so  numdgt
  5520. TEXT: H                   should  not be more than 16.  If the number
  5521. TEXT: H                   is negative, one fewer digit is printed  to
  5522. TEXT: H                   ensure constant widths in tables.
  5523. TEXT: H plottype          This should be  one  of  normal,  comb,  or
  5524. TEXT: H                   point:_c_h_a_r_s.   normal, the  default, causes
  5525. TEXT: H                   points to be plotted as parts of  connected
  5526. TEXT: H                   lines.   comb causes a comb plot to be done
  5527. TEXT: H                   (see the description of the combplot  vari-
  5528. TEXT: H                   able above).  point causes each point to be
  5529. TEXT: H                   plotted separately - the chars are  a  list
  5530. TEXT: H                   of characters that are used for each vector
  5531. TEXT: H                   plotted.  If they are omitted  then  a  de-
  5532. TEXT: H                   fault set is used.
  5533. TEXT: H polydegree        The degree of the polynomial that the  plot
  5534. TEXT: H                   command should fit to the data.  If _p_o_l_y_d_e-
  5535. TEXT: H                   _g_r_e_e is N, then nutmeg fits a degree N  po-
  5536. TEXT: H                   lynomial  to every set of N points and draw
  5537. TEXT: H                   10 intermediate points in between each end-
  5538. TEXT: H                   point.   If  the  points  aren't monotonic,
  5539. TEXT: H                   then it tries rotating the curve and reduc-
  5540. TEXT: H                   ing the degree until a fit is achieved.
  5541. TEXT: H polysteps         The number of points to interpolate between
  5542. TEXT: H                   every  pair  of points available when doing
  5543. TEXT: H                   curve fitting.  The default is 10.
  5544. TEXT: H program           The name of the current program (_a_r_g_v[_0]).
  5545. TEXT: H prompt            The prompt, with the character `!' replaced
  5546. TEXT: H                   by the current event number.
  5547. TEXT: H
  5548. TEXT: H
  5549. TEXT: H rawfile           The default name for rawfiles created.
  5550. TEXT: H diff_reltol       The relative tolerance used by the diff command.
  5551. TEXT: H remote_shell      Overrides the name used  for  generating  rspice
  5552. TEXT: H                   runs (default is "rsh").
  5553. TEXT: H rhost             The machine to use for remote SPICE-3 runs,  in-
  5554. TEXT: H                   stead of the default one (see the description of
  5555. TEXT: H                   the rspice command, below).
  5556. TEXT: H rprogram          The name of the remote program  to  use  in  the
  5557. TEXT: H                   rspice command.
  5558. TEXT: H slowplot          Stop between each graph plotted and wait for the
  5559. TEXT: H                   user to type return before continuing.
  5560. TEXT: H sourcepath        A list of  the  directories  to  search  when  a
  5561. TEXT: H                   source  command  is  given.   The default is the
  5562. TEXT: H                   current directory and the standard spice library
  5563. TEXT: H                   (/_u_s_r/_l_o_c_a_l/_l_i_b/_s_p_i_c_e,  or  whatever  LIBPATH is
  5564. TEXT: H                   #defined to in the Spice3 source.
  5565. TEXT: H spicepath         The program to use for the aspice command.   The
  5566. TEXT: H                   default is /cad/bin/spice.
  5567. TEXT: H term              The _m_f_b name of the current terminal.
  5568. TEXT: H units             If this is degrees, then all the trig  functions
  5569. TEXT: H                   will use degrees instead of radians.
  5570. TEXT: H unixcom           If a command isn't defined, try to execute it as
  5571. TEXT: H                   a UNIX command.  Setting this option has the ef-
  5572. TEXT: H                   fect of giving a rehash command, below.  This is
  5573. TEXT: H                   useful  for  people  who want to use nutmeg as a
  5574. TEXT: H                   login shell.
  5575. TEXT: H verbose           Be verbose.  This is midway between echo and de-
  5576. TEXT: H                   bug / cpdebug.
  5577. TEXT: H diff_vntol        The absolute voltage tolerance used by the  diff
  5578. TEXT: H                   command.
  5579. TEXT: H
  5580. TEXT: H
  5581. TEXT: H  width             The width of the page for asciiplot  and
  5582. TEXT: H                    print col.
  5583. TEXT: H  x11lineararcs     Some X11 implementations have  poor  arc
  5584. TEXT: H                    drawing.  If you set this option, Spice3
  5585. TEXT: H                    will plot using an approximation to  the
  5586. TEXT: H                    curve using straight lines.
  5587. TEXT: H  xbrushheight      The height of the brush to use if  X  is
  5588. TEXT: H                    being run.
  5589. TEXT: H  xbrushwidth       The width of the brush to use  if  X  is
  5590. TEXT: H                    being run.
  5591. TEXT: H  xfont             The name of the X font to use when plot-
  5592. TEXT: H                    ting data and entering labels.  The plot
  5593. TEXT: H                    may  not  look  good  if   this   is   a
  5594. TEXT: H                    variable-width font.
  5595. TEXT: H
  5596. TEXT: H
  5597. TEXT: H      There are several set variables that  Spice3  uses  but
  5598. TEXT: H Nutmeg does not. They are:
  5599. TEXT: H
  5600. TEXT: H  editor            The editor to use for the edit command.
  5601. TEXT: H  modelcard         The name of  the  model  card  (normally
  5602. TEXT: H                    .model).
  5603. TEXT: H  noaskquit         Do not check to make sure that there are
  5604. TEXT: H                    no  circuits  suspended and no plots un-
  5605. TEXT: H                    saved.  Normally Spice3 warns  the  user
  5606. TEXT: H                    when  he  tries  to  quit if this is the
  5607. TEXT: H                    case.
  5608. TEXT: H  nobjthack         Assume that BJTs have 4 nodes.
  5609. TEXT: H  noparse           Don't attempt to parse input files  when
  5610. TEXT: H                    they are read in (useful for debugging).
  5611. TEXT: H                    Of course, they cannot be  run  if  they
  5612. TEXT: H                    are not parsed.
  5613. TEXT: H  nosubckt          Don't expand subcircuits.
  5614. TEXT: H  renumber          Renumber input lines when an input  file
  5615. TEXT: H                    has .include's.
  5616. TEXT: H  subend            The card to  end  subcircuits  (normally
  5617. TEXT: H                    .ends).
  5618. TEXT: H  subinvoke         The prefix to invoke  subcircuits  (nor-
  5619. TEXT: H                    mally x).
  5620. TEXT: H  substart          The card to begin subcircuits  (normally
  5621. TEXT: H                    .subckt).
  5622. TEXT: H
  5623.  
  5624. SUBJECT: MISCELLANEOUS
  5625. TITLE: MISCELLANEOUS
  5626. TEXT: H
  5627. TEXT: H _5._6.  _M_I_S_C_E_L_L_A_N_E_O_U_S
  5628. TEXT: H
  5629. TEXT: H      If there are subcircuits  in  the  input  file,  Spice3
  5630. TEXT: H expands instances of them.  A subcircuit is delimited by the
  5631. TEXT: H cards ._s_u_b_c_k_t and ._e_n_d_s, or whatever the value of the  vari-
  5632. TEXT: H ables  _s_u_b_s_t_a_r_t and _s_u_b_e_n_d is, respectively.  An instance of
  5633. TEXT: H a subcircuit is created by specifying a device with type 'x'
  5634. TEXT: H - the device line is written
  5635. TEXT: H
  5636. TEXT: H     xname node1 node2 ... subcktname
  5637. TEXT: H
  5638. TEXT: H
  5639. TEXT: H where the nodes are the node names that replace  the  formal
  5640. TEXT: H parameters on the .subckt line.  All nodes that are not for-
  5641. TEXT: H mal parameters are prepended with  the  name  given  to  the
  5642. TEXT: H instance  and  a ':', as are the names of the devices in the
  5643. TEXT: H subcircuit.  If there are several nested  subcircuits,  node
  5644. TEXT: H and device names look like subckt1:subckt2:...:name.  If the
  5645. TEXT: H variable subinvoke is set, then it is  used  as  the  prefix
  5646. TEXT: H that specifies instances of subcircuits, instead of 'x'.
  5647. TEXT: H
  5648. TEXT: H      Nutmeg occasionally checks to  see  if  it  is  getting
  5649. TEXT: H close to running out of space, and warns the user if this is
  5650. TEXT: H the case. (This is more likely to be useful with  the  SPICE
  5651. TEXT: H front end.)
  5652. TEXT: H
  5653. TEXT: H      C-shell type quoting with "" and '', and backquote sub-
  5654. TEXT: H stitution  may  be  used.   Within single quotes, no further
  5655. TEXT: H substitution (like history substitution) is done, and within
  5656. TEXT: H double  quotes, the words are kept together but further sub-
  5657. TEXT: H stitution is done.  Any text between backquotes is  replaced
  5658. TEXT: H by  the  result  of  executing  the text as a command to the
  5659. TEXT: H shell.
  5660. TEXT: H
  5661. TEXT: H      Tenex-style ('set filec' in the 4.3  C-shell)  command,
  5662. TEXT: H filename,   and  keyword  completion  is  possible:  If  EOF
  5663. TEXT: H (control-D) is typed after the first character on the  line,
  5664. TEXT: H a  list of the commands or possible arguments is printed (If
  5665. TEXT: H it is alone on the line it  exits  nutmeg).   If  escape  is
  5666. TEXT: H typed,  then  nutmeg  trys  to  complete  what  the user has
  5667. TEXT: H already typed.  To get a list  of  all  commands,  the  user
  5668. TEXT: H should type <space> ^D.
  5669. TEXT: H
  5670. TEXT: H      The values of variables may  be  used  in  commands  by
  5671. TEXT: H writing  $varname  where  the  value  of  the variable is to
  5672. TEXT: H appear.  The special variables $$ and $< refer to  the  pro-
  5673. TEXT: H cess  ID  of  the  program and a line of input which is read
  5674. TEXT: H from the terminal when the variable  is  evaluated,  respec-
  5675. TEXT: H tively.   If  a variable has a name of the form $&word, then
  5676. TEXT: H word is considered a vector (see above), and  its  value  is
  5677. TEXT: H taken  to  be the value of the variable.  If $_f_o_o is a valid
  5678. TEXT: H variable,  and  is  of  type  list,  then   the   expression
  5679. TEXT: H $_f_o_o[_l_o_w-_h_i_g_h]  represents  a range of elements.  Either the
  5680. TEXT: H upper index or the lower may be left out, and the reverse of
  5681. TEXT: H a list may be obtained with $_f_o_o[_l_e_n-_0].  Also, the notation
  5682. TEXT: H $?_f_o_o evaluates to 1 if the variable _f_o_o is defined, 0  oth-
  5683. TEXT: H erwise, and $#_f_o_o evaluates to the number of elements in _f_o_o
  5684. TEXT: H if it is a list, 1 if it is a number or string, and 0 if  it
  5685. TEXT: H is a boolean variable.
  5686. TEXT: H
  5687. TEXT: H      History substitutions, similar to C-shell history  sub-
  5688. TEXT: H stitutions, are also available - see the C-shell manual page
  5689. TEXT: H for all of the details.
  5690. TEXT: H
  5691. TEXT: H      The characters ~, {, and } have  the  same  effects  as
  5692. TEXT: H they do in the C-Shell, i.e., home directory and alternative
  5693. TEXT: H expansion.  It is possible to use the wildcard characters *,
  5694. TEXT: H ?,  [, and ] also, but only if you unset noglob first.  This
  5695. TEXT: H makes them rather useless for typing algebraic  expressions,
  5696. TEXT: H so you should set noglob again after you are done with wild-
  5697. TEXT: H card expansion.  Note that the  pattern  [^abc]  matchs  all
  5698. TEXT: H characters _e_x_c_e_p_t a, b, _a_n_d c.
  5699. TEXT: H
  5700. TEXT: H      IO redirection is available - the symbols  >,  >>,  >&,
  5701. TEXT: H >>&, and < have the same effects as in the C-shell.
  5702. TEXT: H
  5703. TEXT: H      You may type multiple commands on one  line,  separated
  5704. TEXT: H by semicolons.
  5705. TEXT: H
  5706. TEXT: H      If you want to use a different  mfbcap  file  than  the
  5707. TEXT: H default  (usually  ~cad/lib/mfbcap),  you  have  to  set the
  5708. TEXT: H environment variable SPICE_MFBCAP before you start nutmeg or
  5709. TEXT: H spice.   The  -m  option  and  the mfbcap variable no longer
  5710. TEXT: H work.
  5711. TEXT: H
  5712. TEXT: H      If X is being used, the cursor may be positioned at any
  5713. TEXT: H point  on  the  screen  when the window is up and characters
  5714. TEXT: H typed at the keyboard are added to the window at that point.
  5715. TEXT: H The  window  may  then be sent to a printer using the xpr(1)
  5716. TEXT: H program.
  5717. TEXT: H
  5718. TEXT: H      Nutmeg can be run under VAX/VMS,  as  well  as  several
  5719. TEXT: H other operating systems.  Some features like command comple-
  5720. TEXT: H tion, expansion of *, ?, and [], backquote substitution, the
  5721. TEXT: H shell command, and so forth do not work.
  5722. TEXT: H
  5723. TEXT: H      On some systems you  have  to  respond  to  the  -_m_o_r_e-
  5724. TEXT: H prompt during plot with a carriage return instead of any key
  5725. TEXT: H as you can do on UNIX.
  5726.  
  5727. SUBJECT: BUGS
  5728. TITLE: BUGS
  5729. TEXT: H
  5730. TEXT: H _5._7.  _B_U_G_S
  5731. TEXT: H
  5732. TEXT: H      The label entry facilities are primitive.  You must  be
  5733. TEXT: H careful to type slowly when entering labels -- nutmeg checks
  5734. TEXT: H for input once every second, and can get confused if charac-
  5735. TEXT: H ters arrive faster.
  5736. TEXT: H
  5737. TEXT: H      If you redefine colors after  creating  a  plot  window
  5738. TEXT: H with X, and then cause the window to be redrawn, it does not
  5739. TEXT: H redraw in the correct colors.
  5740. TEXT: H
  5741. TEXT: H
  5742. TEXT: H      When defining aliases like
  5743. TEXT: H
  5744. TEXT: H     alias pdb plot db( '!:1' - '!:2' )
  5745. TEXT: H
  5746. TEXT: H
  5747. TEXT: H you must be careful to quote the argument list substitu-
  5748. TEXT: H tions  in  this manner.  If you quote the whole argument
  5749. TEXT: H it might not work properly.
  5750. TEXT: H
  5751. TEXT: H
  5752. TEXT: H
  5753. TEXT: H      In a user-defined function,  the  arguments  cannot  be
  5754. TEXT: H part of a name that uses the _p_l_o_t._v_e_c syntax.  For example:
  5755. TEXT: H
  5756. TEXT: H     define check(v(1)) cos(tran1.v(1))
  5757. TEXT: H
  5758. TEXT: H
  5759. TEXT: H does not work.
  5760. TEXT: H
  5761. TEXT: H
  5762. TEXT: H      If you type plot all all, or otherwise use  a  wildcard
  5763. TEXT: H reference  for  one  plot  twice in a command, the effect is
  5764. TEXT: H unpredictable.
  5765. TEXT: H
  5766. TEXT: H      The asciiplot command doesn't deal with log  scales  or
  5767. TEXT: H the delta keywords.
  5768. TEXT: H
  5769. TEXT: H
  5770. TEXT: H      Often the names of terminals recognized by MFB are dif-
  5771. TEXT: H ferent  from  those  in  /etc/termcap.  Thus you may have to
  5772. TEXT: H reset your terminal type with the command
  5773. TEXT: H
  5774. TEXT: H     set term = termname
  5775. TEXT: H
  5776. TEXT: H
  5777. TEXT: H where termname is the name in the mfbcap file.
  5778. TEXT: H
  5779. TEXT: H
  5780. TEXT: H      The hardcopy command is useless on VMS and  other  sys-
  5781. TEXT: H tems without the plot command, unless the user has a program
  5782. TEXT: H that understands _p_l_o_t(_5) format.
  5783. TEXT: H
  5784. TEXT: H      Spice3 recognizes all  the  notations  used  in  SPICE2
  5785. TEXT: H .plot  cards,  and  translates  vp(1)  into ph(v(1)), and so
  5786. TEXT: H forth.  However, if there are spaces in these names it won't
  5787. TEXT: H work.  Hence v(1, 2) and (-.5, .5) aren't recognized.
  5788. TEXT: H
  5789. TEXT: H      BJTs can have either 3 or 4 nodes, which makes it  dif-
  5790. TEXT: H ficult  for the subcircuit expansion routines to decide what
  5791. TEXT: H to rename.  If the fourth parameter has been declared  as  a
  5792. TEXT: H model  name, then it is assumed that there are 3 nodes, oth-
  5793. TEXT: H erwise it is considered a node.  To disable  this,  you  can
  5794. TEXT: H set  the  variable  "nobjthack"  which forces BJTs to have 4
  5795. TEXT: H nodes (for the purposes of subcircuit expansion, at least).
  5796. TEXT: H
  5797. TEXT: H      The @name[param] notation might not  work  with  trace,
  5798. TEXT: H iplot, etc.  yet.
  5799. TEXT: H
  5800. TEXT: H      The first line of a command file (except for the  ._s_p_i_-
  5801. TEXT: H _c_e_i_n_i_t file) should be a comment, otherwise SPICE may create
  5802. TEXT: H an empty circuit.
  5803. TEXT: H
  5804. TEXT: H      Files specified on the command  line  are  read  before
  5805. TEXT: H .spiceinit is read.
  5806.  
  5807. SUBJECT: BIBLIOGRAPHY
  5808. TITLE: BIBLIOGRAPHY
  5809. TEXT: H
  5810. TEXT: H _6.  _B_I_B_L_I_O_G_R_A_P_H_Y
  5811. TEXT: H
  5812. TEXT: H
  5813. TEXT: H [1]  A. Vladimirescu and  S.  Liu,  _T_h_e  _S_i_m_u_l_a_t_i_o_n  _o_f  _M_O_S
  5814. TEXT: H      _I_n_t_e_g_r_a_t_e_d _C_i_r_c_u_i_t_s _U_s_i_n_g _S_P_I_C_E_2
  5815. TEXT: H      ERL Memo No. ERL M80/7, Electronics Research Laboratory
  5816. TEXT: H      University of California, Berkeley, October 1980
  5817. TEXT: H
  5818. TEXT: H [2]  T. Sakurai and A. R. Newton, _A _S_i_m_p_l_e _M_O_S_F_E_T _M_o_d_e_l  _f_o_r
  5819. TEXT: H      _C_i_r_c_u_i_t _A_n_a_l_y_s_i_s _a_n_d _i_t_s _a_p_p_l_i_c_a_t_i_o_n _t_o _C_M_O_S _g_a_t_e _d_e_l_a_y
  5820. TEXT: H      _a_n_a_l_y_s_i_s _a_n_d _s_e_r_i_e_s-_c_o_n_n_e_c_t_e_d _M_O_S_F_E_T _S_t_r_u_c_t_u_r_e
  5821. TEXT: H      ERL Memo No. ERL M90/19, Electronics  Research  Labora-
  5822. TEXT: H      tory,
  5823. TEXT: H      University of California, Berkeley, March 1990
  5824. TEXT: H
  5825. TEXT: H [3]  B. J. Sheu, D. L. Scharfetter, and  P.  K.  Ko,  _S_P_I_C_E_2
  5826. TEXT: H      _I_m_p_l_e_m_e_n_t_a_t_i_o_n _o_f _B_S_I_M
  5827. TEXT: H      ERL Memo No. ERL M85/42, Electronics  Research  Labora-
  5828. TEXT: H      tory
  5829. TEXT: H      University of California, Berkeley, May 1985
  5830. TEXT: H
  5831. TEXT: H [4]  J. R. Pierret, _A _M_O_S _P_a_r_a_m_e_t_e_r _E_x_t_r_a_c_t_i_o_n  _P_r_o_g_r_a_m  _f_o_r
  5832. TEXT: H      _t_h_e _B_S_I_M _M_o_d_e_l
  5833. TEXT: H      ERL Memo  Nos.  ERL  M84/99  and  M84/100,  Electronics
  5834. TEXT: H      Research Laboratory
  5835. TEXT: H      University of California, Berkeley, November 1984
  5836. TEXT: H
  5837. TEXT: H [5]  Min-Chie   Jeng,   _D_e_s_i_g_n   _a_n_d   _M_o_d_e_l_i_n_g   _o_f   _D_e_e_p-
  5838. TEXT: H      _S_u_b_m_i_c_r_o_m_e_t_e_r _M_O_S_F_E_T_S_s
  5839. TEXT: H      ERL Memo Nos. ERL M90/90, Electronics Research  Labora-
  5840. TEXT: H      tory
  5841. TEXT: H      University of California, Berkeley, October 1990
  5842. TEXT: H
  5843. TEXT: H [6]  Soyeon Park, _A_n_a_l_y_s_i_s _a_n_d _S_P_I_C_E _i_m_p_l_e_m_e_n_t_a_t_i_o_n _o_f  _H_i_g_h
  5844. TEXT: H      _T_e_m_p_e_r_a_t_u_r_e _E_f_f_e_c_t_s _o_n _M_O_S_F_E_T,
  5845. TEXT: H      Master's thesis, University  of  California,  Berkeley,
  5846. TEXT: H      December 1986.
  5847. TEXT: H
  5848. TEXT: H [7]  Clement Szeto, _S_i_m_u_l_a_t_o_r _o_f _T_e_m_p_e_r_a_t_u_r_e _E_f_f_e_c_t_s _i_n _M_O_S_-
  5849. TEXT: H      _F_E_T_s (_S_T_E_I_M),
  5850. TEXT: H      Master's thesis, University  of  California,  Berkeley,
  5851. TEXT: H      May 1988.
  5852. TEXT: H
  5853. TEXT: H [8]  J.S. Roychowdhury and D.O.  Pederson,  _E_f_f_i_c_i_e_n_t  _T_r_a_n_-
  5854. TEXT: H      _s_i_e_n_t _S_i_m_u_l_a_t_i_o_n _o_f _L_o_s_s_y _I_n_t_e_r_c_o_n_n_e_c_t,
  5855. TEXT: H      Proc. of the 28th ACM/IEEE  Design  Automation  Confer-
  5856. TEXT: H      ence, June 17-21 1991, San Francisco
  5857. TEXT: H
  5858. TEXT: H [9]  A. E. Parker and D. J. Skellern, _A_n _I_m_p_r_o_v_e_d _F_E_T  _M_o_d_e_l
  5859. TEXT: H      _f_o_r _C_o_m_p_u_t_e_r _S_i_m_u_l_a_t_o_r_s,
  5860. TEXT: H      IEEE Trans CAD, vol. 9, no. 5, pp. 551-553, May 1990.
  5861. TEXT: H
  5862. TEXT: H [10] R. Saleh and A. Yang, Editors, _S_i_m_u_l_a_t_i_o_n _a_n_d _M_o_d_e_l_i_n_g,
  5863. TEXT: H      IEEE Circuits and Devices, vol. 8, no. 3, pp.  7-8  and
  5864. TEXT: H      49, May 1992
  5865. TEXT: H
  5866. TEXT: H [11] H.Statz et al., _G_a_A_s _F_E_T _D_e_v_i_c_e _a_n_d _C_i_r_c_u_i_t  _S_i_m_u_l_a_t_i_o_n
  5867. TEXT: H      _i_n _S_P_I_C_E,
  5868. TEXT: H      IEEE Transactions on Electron Devices, V34,  Number  2,
  5869. TEXT: H      February, 1987 pp160-169.
  5870.  
  5871. SUBJECT: APPENDIX A
  5872. TITLE: APPENDIX A:  EXAMPLE CIRCUITS
  5873. TEXT: H
  5874. TEXT: H _A.  _A_P_P_E_N_D_I_X _A:  _E_X_A_M_P_L_E _C_I_R_C_U_I_T_S
  5875. TEXT: H
  5876. TEXT: H
  5877. SUBTOPIC: SPICE:Circuit 1
  5878. SUBTOPIC: SPICE:Circuit 2
  5879. SUBTOPIC: SPICE:Circuit 3
  5880. SUBTOPIC: SPICE:Circuit 4
  5881. SUBTOPIC: SPICE:Circuit 5
  5882.  
  5883. SUBJECT: Circuit 1
  5884. TITLE: Circuit 1:  Differential Pair
  5885. TEXT: H
  5886. TEXT: H _A._1.  _C_i_r_c_u_i_t _1:  _D_i_f_f_e_r_e_n_t_i_a_l _P_a_i_r
  5887. TEXT: H
  5888. TEXT: H
  5889. TEXT: H      The following deck determines the dc operating point of
  5890. TEXT: H a simple differential pair. In addition, the ac small-signal
  5891. TEXT: H response  is  computed  over  the  frequency  range  1Hz  to
  5892. TEXT: H 100MEGHz.
  5893. TEXT: H
  5894. TEXT: H     SIMPLE DIFFERENTIAL PAIR
  5895. TEXT: H     VCC  7  0    12
  5896. TEXT: H     VEE  8  0    -12
  5897. TEXT: H     VIN  1  0    AC 1
  5898. TEXT: H     RS1  1  2    1K
  5899. TEXT: H     RS2  6  0    1K
  5900. TEXT: H     Q1   3  2  4 MOD1
  5901. TEXT: H     Q2   5  6  4 MOD1
  5902. TEXT: H     RC1  7  3    10K
  5903. TEXT: H     RC2  7  5    10K
  5904. TEXT: H     RE   4  8    10K
  5905. TEXT: H     .MODEL MOD1 NPN BF=50 VAF=50 IS=1.E-12 RB=100 CJC=.5PF TF=.6NS
  5906. TEXT: H     .TF V(5) VIN
  5907. TEXT: H     .AC DEC 10 1 100MEG
  5908. TEXT: H     .END
  5909. TEXT: H
  5910. TEXT: H
  5911. TEXT: H
  5912. TEXT: H
  5913.  
  5914. SUBJECT: Circuit 2
  5915. TITLE: Circuit 2:  MOSFET Characterization
  5916. TEXT: H
  5917. TEXT: H _A._2.  _C_i_r_c_u_i_t _2:  _M_O_S_F_E_T _C_h_a_r_a_c_t_e_r_i_z_a_t_i_o_n
  5918. TEXT: H
  5919. TEXT: H The following deck computes the output characteristics of  a
  5920. TEXT: H MOSFET device over the range 0-10V for VDS and 0-5V for VGS.
  5921. TEXT: H
  5922. TEXT: H
  5923. TEXT: H     MOS OUTPUT CHARACTERISTICS
  5924. TEXT: H     .OPTIONS NODE NOPAGE
  5925. TEXT: H     VDS  3  0
  5926. TEXT: H     VGS  2  0
  5927. TEXT: H     M1   1  2  0  0 MOD1 L=4U W=6U AD=10P AS=10P
  5928. TEXT: H     * VIDS MEASURES ID, WE COULD HAVE USED VDS, BUT ID WOULD BE NEGATIVE
  5929. TEXT: H     VIDS 3  1
  5930. TEXT: H     .MODEL MOD1 NMOS VTO=-2 NSUB=1.0E15 UO=550
  5931. TEXT: H     .DC VDS 0 10 .5 VGS 0 5 1
  5932. TEXT: H     .END
  5933. TEXT: H
  5934. TEXT: H
  5935. TEXT: H
  5936. TEXT: H
  5937.  
  5938. SUBJECT: Circuit 3
  5939. TITLE: Circuit 3:  RTL Inverter
  5940. TEXT: H
  5941. TEXT: H _A._3.  _C_i_r_c_u_i_t _3:  _R_T_L _I_n_v_e_r_t_e_r
  5942. TEXT: H
  5943. TEXT: H
  5944. TEXT: H      The following deck determines the dc transfer curve and
  5945. TEXT: H the  transient pulse response of a simple RTL inverter.  The
  5946. TEXT: H input is a pulse from 0 to 5 Volts  with  delay,  rise,  and
  5947. TEXT: H fall  times of 2ns and a pulse width of 30ns.  The transient
  5948. TEXT: H interval is 0 to 100ns,  with  printing  to  be  done  every
  5949. TEXT: H nanosecond.
  5950. TEXT: H
  5951. TEXT: H
  5952. TEXT: H     SIMPLE RTL INVERTER
  5953. TEXT: H     VCC  4  0    5
  5954. TEXT: H     VIN  1  0    PULSE 0 5 2NS 2NS 2NS 30NS
  5955. TEXT: H     RB   1  2    10K
  5956. TEXT: H     Q1   3  2  0 Q1
  5957. TEXT: H     RC   3  4    1K
  5958. TEXT: H     .MODEL Q1 NPN BF 20 RB 100 TF .1NS CJC 2PF
  5959. TEXT: H     .DC VIN 0 5 0.1
  5960. TEXT: H     .TRAN 1NS 100NS
  5961. TEXT: H     .END
  5962. TEXT: H
  5963. TEXT: H
  5964. TEXT: H
  5965.  
  5966. SUBJECT: Circuit 4
  5967. TITLE: Circuit 4:  Four-Bit Binary Adder
  5968. TEXT: H
  5969. TEXT: H _A._4.  _C_i_r_c_u_i_t _4:  _F_o_u_r-_B_i_t _B_i_n_a_r_y _A_d_d_e_r
  5970. TEXT: H
  5971. TEXT: H
  5972. TEXT: H      The following deck simulates a four-bit  binary  adder,
  5973. TEXT: H using  several subcircuits to describe various pieces of the
  5974. TEXT: H overall circuit.
  5975. TEXT: H
  5976. TEXT: H
  5977. TEXT: H     ADDER - 4 BIT ALL-NAND-GATE BINARY ADDER
  5978. TEXT: H
  5979. TEXT: H     *** SUBCIRCUIT DEFINITIONS
  5980. TEXT: H     .SUBCKT NAND 1 2 3 4
  5981. TEXT: H     *   NODES:  INPUT(2), OUTPUT, VCC
  5982. TEXT: H     Q1        9  5  1 QMOD
  5983. TEXT: H     D1CLAMP   0  1    DMOD
  5984. TEXT: H     Q2        9  5  2 QMOD
  5985. TEXT: H     D2CLAMP   0  2    DMOD
  5986. TEXT: H     RB        4  5    4K
  5987. TEXT: H     R1        4  6    1.6K
  5988. TEXT: H     Q3        6  9  8 QMOD
  5989. TEXT: H     R2        8  0    1K
  5990. TEXT: H     RC        4  7    130
  5991. TEXT: H     Q4        7  6 10 QMOD
  5992. TEXT: H     DVBEDROP 10  3    DMOD
  5993. TEXT: H     Q5        3  8  0 QMOD
  5994. TEXT: H     .ENDS NAND
  5995. TEXT: H
  5996. TEXT: H     .SUBCKT ONEBIT 1 2 3 4 5 6
  5997. TEXT: H     *   NODES:  INPUT(2), CARRY-IN, OUTPUT, CARRY-OUT, VCC
  5998. TEXT: H     X1   1  2  7  6   NAND
  5999. TEXT: H     X2   1  7  8  6   NAND
  6000. TEXT: H     X3   2  7  9  6   NAND
  6001. TEXT: H     X4   8  9 10  6   NAND
  6002. TEXT: H     X5   3 10 11  6   NAND
  6003. TEXT: H     X6   3 11 12  6   NAND
  6004. TEXT: H     X7  10 11 13  6   NAND
  6005. TEXT: H     X8  12 13  4  6   NAND
  6006. TEXT: H     X9  11  7  5  6   NAND
  6007. TEXT: H     .ENDS ONEBIT
  6008. TEXT: H
  6009. TEXT: H     .SUBCKT TWOBIT 1 2 3 4 5 6 7 8 9
  6010. TEXT: H     *   NODES:  INPUT - BIT0(2) / BIT1(2), OUTPUT - BIT0 / BIT1,
  6011. TEXT: H     *           CARRY-IN, CARRY-OUT, VCC
  6012. TEXT: H     X1   1  2  7  5 10  9   ONEBIT
  6013. TEXT: H     X2   3  4 10  6  8  9   ONEBIT
  6014. TEXT: H     .ENDS TWOBIT
  6015. TEXT: H
  6016. TEXT: H     .SUBCKT FOURBIT 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  6017. TEXT: H     *   NODES:  INPUT - BIT0(2) / BIT1(2) / BIT2(2) / BIT3(2),
  6018. TEXT: H     *           OUTPUT - BIT0 / BIT1 / BIT2 / BIT3, CARRY-IN, CARRY-OUT, VCC
  6019. TEXT: H     X1   1  2  3  4  9 10 13 16 15   TWOBIT
  6020. TEXT: H     X2   5  6  7  8 11 12 16 14 15   TWOBIT
  6021. TEXT: H     .ENDS FOURBIT
  6022. TEXT: H
  6023. TEXT: H     *** DEFINE NOMINAL CIRCUIT
  6024. TEXT: H     .MODEL DMOD D
  6025. TEXT: H     .MODEL QMOD NPN(BF=75 RB=100 CJE=1PF CJC=3PF)
  6026. TEXT: H     VCC   99  0   DC 5V
  6027. TEXT: H     VIN1A  1  0   PULSE(0 3 0 10NS 10NS   10NS   50NS)
  6028. TEXT: H     VIN1B  2  0   PULSE(0 3 0 10NS 10NS   20NS  100NS)
  6029. TEXT: H     VIN2A  3  0   PULSE(0 3 0 10NS 10NS   40NS  200NS)
  6030. TEXT: H     VIN2B  4  0   PULSE(0 3 0 10NS 10NS   80NS  400NS)
  6031. TEXT: H     VIN3A  5  0   PULSE(0 3 0 10NS 10NS  160NS  800NS)
  6032. TEXT: H     VIN3B  6  0   PULSE(0 3 0 10NS 10NS  320NS 1600NS)
  6033. TEXT: H     VIN4A  7  0   PULSE(0 3 0 10NS 10NS  640NS 3200NS)
  6034. TEXT: H     VIN4B  8  0   PULSE(0 3 0 10NS 10NS 1280NS 6400NS)
  6035. TEXT: H     X1     1  2  3  4  5  6  7  8  9 10 11 12  0 13 99 FOURBIT
  6036. TEXT: H     RBIT0  9  0   1K
  6037. TEXT: H     RBIT1 10  0   1K
  6038. TEXT: H     RBIT2 11  0   1K
  6039. TEXT: H     RBIT3 12  0   1K
  6040. TEXT: H     RCOUT 13  0   1K
  6041. TEXT: H
  6042. TEXT: H     *** (FOR THOSE WITH MONEY (AND MEMORY) TO BURN)
  6043. TEXT: H     .TRAN 1NS 6400NS
  6044. TEXT: H     .END
  6045. TEXT: H
  6046. TEXT: H
  6047. TEXT: H
  6048.  
  6049. SUBJECT: Circuit 5
  6050. TITLE: Circuit 5:  Transmission-Line Inverter
  6051. TEXT: H
  6052. TEXT: H _A._5.  _C_i_r_c_u_i_t _5:  _T_r_a_n_s_m_i_s_s_i_o_n-_L_i_n_e _I_n_v_e_r_t_e_r
  6053. TEXT: H
  6054. TEXT: H
  6055. TEXT: H      The following deck simulates  a  transmission-line  in-
  6056. TEXT: H verter.   Two  transmission-line elements are required since
  6057. TEXT: H two propagation modes are excited.  In the case of a coaxial
  6058. TEXT: H line,  the  first  line (T1) models the inner conductor with
  6059. TEXT: H respect to the shield, and the second line (T2)  models  the
  6060. TEXT: H shield with respect to the outside world.
  6061. TEXT: H
  6062. TEXT: H
  6063. TEXT: H     TRANSMISSION-LINE INVERTER
  6064. TEXT: H     V1   1  0         PULSE(0 1 0 0.1N)
  6065. TEXT: H     R1   1  2         50
  6066. TEXT: H     X1   2  0  0  4   TLINE
  6067. TEXT: H     R2   4  0         50
  6068. TEXT: H
  6069. TEXT: H     .SUBCKT TLINE 1 2 3 4
  6070. TEXT: H     T1   1  2  3  4   Z0=50 TD=1.5NS
  6071. TEXT: H     T2   2  0  4  0   Z0=100 TD=1NS
  6072. TEXT: H     .ENDS TLINE
  6073. TEXT: H
  6074. TEXT: H     .TRAN 0.1NS 20NS
  6075. TEXT: H     .END
  6076. TEXT: H
  6077. TEXT: H
  6078.  
  6079. SUBJECT: APPENDIX B
  6080. TITLE: APPENDIX B:  MODEL AND DEVICE PARAMETERS
  6081. TEXT: H
  6082. TEXT: H _B.  _A_P_P_E_N_D_I_X _B:  _M_O_D_E_L _A_N_D _D_E_V_I_C_E _P_A_R_A_M_E_T_E_R_S
  6083. TEXT: H
  6084. TEXT: H      The following tables summarize the parameters available
  6085. TEXT: H on  each  of  the devices and models in  (note that for some
  6086. TEXT: H systems with  limited  memory,  output  parameters  are  not
  6087. TEXT: H available).   There are several tables for each type of dev-
  6088. TEXT: H ice supported by .  Input parameters to instances and models
  6089. TEXT: H are parameters that can occur on an instance or model defin-
  6090. TEXT: H ition line in the form "keyword=value"  where  "keyword"  is
  6091. TEXT: H the  parameter  name  as given in the tables.  Default input
  6092. TEXT: H parameters (such as the resistance  of  a  resistor  or  the
  6093. TEXT: H capacitance  of  a capacitor) obviously do not need the key-
  6094. TEXT: H word specified.
  6095. TEXT: H
  6096. TEXT: H      Output parameters are those additional parameters which
  6097. TEXT: H are  available for many types of instances for the output of
  6098. TEXT: H operating point and debugging information.  These parameters
  6099. TEXT: H are  specified  as  "@device[keyword]" and are available for
  6100. TEXT: H the most recent point computed or, if specified in a ".save"
  6101. TEXT: H statement,  for an entire simulation as a normal output vec-
  6102. TEXT: H tor.  Thus, to monitor the gate-to-source capacitance  of  a
  6103. TEXT: H MOSFET, a command
  6104. TEXT: H
  6105. TEXT: H         save @m1[cgs]
  6106. TEXT: H
  6107. TEXT: H given before a transient  simulation  causes  the  specified
  6108. TEXT: H capacitance  value to be saved at each timepoint, and a sub-
  6109. TEXT: H sequent command such as
  6110. TEXT: H
  6111. TEXT: H         plot @m1[cgs]
  6112. TEXT: H
  6113. TEXT: H produces the desired plot.  (Note that the show command does
  6114. TEXT: H not use this format).
  6115. TEXT: H
  6116. TEXT: H      Some variables are listed as both input and output, and
  6117. TEXT: H their  output  simply returns the previously input value, or
  6118. TEXT: H the default value after the simulation has been  run.   Some
  6119. TEXT: H parameter  are  input only because the output system can not
  6120. TEXT: H handle variables of the given type yet, or the need for them
  6121. TEXT: H as  output variables has not been apparent.  Many such input
  6122. TEXT: H variables are available as output variables in  a  different
  6123. TEXT: H format,  such  as  the initial condition vectors that can be
  6124. TEXT: H retrieved as individual initial condition values.   Finally,
  6125. TEXT: H internally  derived  values are output only and are provided
  6126. TEXT: H for debugging and operating point output purposes.
  6127. TEXT: H
  6128. TEXT: H      Please note  that  these  tables  do  not  provide  the
  6129. TEXT: H detailed information available about the parameters provided
  6130. TEXT: H in the section on each device and model, but are provided as
  6131. TEXT: H a quick reference guide.
  6132. SUBTOPIC: SPICE:URC
  6133. SUBTOPIC: SPICE:ASRC
  6134. SUBTOPIC: SPICE:BJT
  6135. SUBTOPIC: SPICE:BSIM1
  6136. SUBTOPIC: SPICE:BSIM2
  6137. SUBTOPIC: SPICE:Capacitor
  6138. SUBTOPIC: SPICE:CCCS
  6139. SUBTOPIC: SPICE:CCVS
  6140. SUBTOPIC: SPICE:CSwitch
  6141. SUBTOPIC: SPICE:Diode
  6142. SUBTOPIC: SPICE:Inductor
  6143. SUBTOPIC: SPICE:mutual
  6144. SUBTOPIC: SPICE:Isource
  6145. SUBTOPIC: SPICE:JFET
  6146. SUBTOPIC: SPICE:LTRA
  6147. SUBTOPIC: SPICE:MES
  6148. SUBTOPIC: SPICE:Mos1
  6149. SUBTOPIC: SPICE:Mos2
  6150. SUBTOPIC: SPICE:Mos3
  6151. SUBTOPIC: SPICE:Mos6
  6152. SUBTOPIC: SPICE:Resistor
  6153. SUBTOPIC: SPICE:Switch
  6154. SUBTOPIC: SPICE:Tranline
  6155. SUBTOPIC: SPICE:VCCS
  6156. SUBTOPIC: SPICE:VCVS
  6157. SUBTOPIC: SPICE:Vsource
  6158.  
  6159. SUBJECT: URC
  6160. TITLE: URC:  Uniform R.C. line
  6161. TEXT: H
  6162. TEXT: H _B._1.  _U_R_C:  _U_n_i_f_o_r_m _R._C. _l_i_n_e
  6163. TEXT: H 
  6164. TEXT: H ------------------------------------------------------------
  6165. TEXT: H|          URC - instance parameters (input-output)         |
  6166. TEXT: H|-----------------------------------------------------------+
  6167. TEXT: H| l                 Length of transmission line             |
  6168. TEXT: H| n                 Number of lumps                         |
  6169. TEXT: H ------------------------------------------------------------
  6170. TEXT: H
  6171. TEXT: H 
  6172. TEXT: H ------------------------------------------------------------
  6173. TEXT: H|          URC - instance parameters (output-only)          |
  6174. TEXT: H|-----------------------------------------------------------+
  6175. TEXT: H| pos_node          Positive node of URC                    |
  6176. TEXT: H| neg_node          Negative node of URC                    |
  6177. TEXT: H| gnd               Ground node of URC                      |
  6178. TEXT: H ------------------------------------------------------------
  6179. TEXT: H
  6180. TEXT: H 
  6181. TEXT: H ------------------------------------------------------------
  6182. TEXT: H|            URC - model parameters (input-only)            |
  6183. TEXT: H|-----------------------------------------------------------+
  6184. TEXT: H| urc               Uniform R.C. line model                 |
  6185. TEXT: H ------------------------------------------------------------
  6186. TEXT: H
  6187. TEXT: H 
  6188. TEXT: H ------------------------------------------------------------
  6189. TEXT: H|           URC - model parameters (input-output)           |
  6190. TEXT: H|-----------------------------------------------------------+
  6191. TEXT: H| k                 Propagation constant                    |
  6192. TEXT: H| fmax              Maximum frequency of interest           |
  6193. TEXT: H| rperl             Resistance per unit length              |
  6194. TEXT: H| cperl             Capacitance per unit length             |
  6195. TEXT: H| isperl            Saturation current per length           |
  6196. TEXT: H| rsperl            Diode resistance per length             |
  6197. TEXT: H ------------------------------------------------------------
  6198. TEXT: H
  6199.  
  6200. SUBJECT: ASRC
  6201. TITLE: ASRC:  Arbitrary Source 
  6202. TEXT: H
  6203. TEXT: H _B._2.  _A_S_R_C:  _A_r_b_i_t_r_a_r_y _S_o_u_r_c_e
  6204. TEXT: H 
  6205. TEXT: H ------------------------------------------------------------
  6206. TEXT: H|          ASRC - instance parameters (input-only)          |
  6207. TEXT: H|-----------------------------------------------------------+
  6208. TEXT: H| i                 Current source                          |
  6209. TEXT: H| v                 Voltage source                          |
  6210. TEXT: H ------------------------------------------------------------
  6211. TEXT: H
  6212. TEXT: H 
  6213. TEXT: H ------------------------------------------------------------
  6214. TEXT: H|          ASRC - instance parameters (output-only)         |
  6215. TEXT: H|-----------------------------------------------------------+
  6216. TEXT: H| i                 Current through source                  |
  6217. TEXT: H| v                 Voltage across source                   |
  6218. TEXT: H| pos_node          Positive Node                           |
  6219. TEXT: H| neg_node          Negative Node                           |
  6220. TEXT: H ------------------------------------------------------------
  6221.  
  6222. SUBJECT: BJT
  6223. TITLE: BJT:  Bipolar Junction Transistor
  6224. TEXT: H
  6225. TEXT: H _B._3.  _B_J_T:  _B_i_p_o_l_a_r _J_u_n_c_t_i_o_n _T_r_a_n_s_i_s_t_o_r
  6226. TEXT: H 
  6227. TEXT: H ------------------------------------------------------------
  6228. TEXT: H|           BJT - instance parameters (input-only)          |
  6229. TEXT: H|-----------------------------------------------------------+
  6230. TEXT: H| ic                Initial condition vector                |
  6231. TEXT: H ------------------------------------------------------------
  6232. TEXT: H
  6233. TEXT: H 
  6234. TEXT: H ------------------------------------------------------------
  6235. TEXT: H|          BJT - instance parameters (input-output)         |
  6236. TEXT: H|-----------------------------------------------------------+
  6237. TEXT: H| off               Device initially off                    |
  6238. TEXT: H| icvbe             Initial B-E voltage                     |
  6239. TEXT: H| icvce             Initial C-E voltage                     |
  6240. TEXT: H| area              Area factor                             |
  6241. TEXT: H| temp              instance temperature                    |
  6242. TEXT: H ------------------------------------------------------------
  6243. TEXT: H
  6244. TEXT: H 
  6245. TEXT: H ------------------------------------------------------------
  6246. TEXT: H|          BJT - instance parameters (output-only)          |
  6247. TEXT: H|-----------------------------------------------------------+
  6248. TEXT: H| colnode           Number of collector node                |
  6249. TEXT: H| basenode          Number of base node                     |
  6250. TEXT: H| emitnode          Number of emitter node                  |
  6251. TEXT: H| substnode         Number of substrate node                |
  6252. TEXT: H ------------------------------------------------------------
  6253. TEXT: H| colprimenode      Internal collector node                 |
  6254. TEXT: H| baseprimenode     Internal base node                      |
  6255. TEXT: H| emitprimenode     Internal emitter node                   |
  6256. TEXT: H| ic                Current at collector node               |
  6257. TEXT: H|-----------------------------------------------------------+
  6258. TEXT: H  ib                Current at base node
  6259. TEXT: H| ie                Emitter current                         |
  6260. TEXT: H| is                Substrate current                       |
  6261. TEXT: H| vbe               B-E voltage                             |
  6262. TEXT: H ------------------------------------------------------------
  6263. TEXT: H| vbc               B-C voltage                             |
  6264. TEXT: H| gm                Small signal transconductance           |
  6265. TEXT: H| gpi               Small signal input conductance - pi     |
  6266. TEXT: H| gmu               Small signal conductance - mu           |
  6267. TEXT: H|-----------------------------------------------------------+
  6268. TEXT: H| gx                Conductance from base to internal base  |
  6269. TEXT: H| go                Small signal output conductance         |
  6270. TEXT: H| geqcb             d(Ibe)/d(Vbc)                           |
  6271. TEXT: H| gccs              Internal C-S cap. equiv. cond.          |
  6272. TEXT: H ------------------------------------------------------------
  6273. TEXT: H| geqbx             Internal C-B-base cap. equiv. cond.     |
  6274. TEXT: H| cpi               Internal base to emitter capactance     |
  6275. TEXT: H| cmu               Internal base to collector capactiance  |
  6276. TEXT: H| cbx               Base to collector capacitance           |
  6277. TEXT: H|-----------------------------------------------------------+
  6278. TEXT: H| ccs               Collector to substrate capacitance      |
  6279. TEXT: H| cqbe              Cap. due to charge storage in B-E jct.  |
  6280. TEXT: H| cqbc              Cap. due to charge storage in B-C jct.  |
  6281. TEXT: H| cqcs              Cap. due to charge storage in C-S jct.  |
  6282. TEXT: H| cqbx              Cap. due to charge storage in B-X jct.  |
  6283. TEXT: H|                         _c_o_n_t_i_n_u_e_d                |
  6284. TEXT: H ------------------------------------------------------------
  6285. TEXT: H
  6286. TEXT: H 
  6287. TEXT: H ------------------------------------------------------------
  6288. TEXT: H|     BJT - instance output-only parameters - _c_o_n_t_i_n_u_e_d
  6289. TEXT: H|-----------------------------------------------------------+
  6290. TEXT: H| cexbc             Total Capacitance in B-X junction       |
  6291. TEXT: H| qbe               Charge storage B-E junction             |
  6292. TEXT: H| qbc               Charge storage B-C junction             |
  6293. TEXT: H| qcs               Charge storage C-S junction             |
  6294. TEXT: H| qbx               Charge storage B-X junction             |
  6295. TEXT: H| p                 Power dissipation                       |
  6296. TEXT: H ------------------------------------------------------------
  6297. TEXT: H
  6298. TEXT: H 
  6299. TEXT: H ------------------------------------------------------------
  6300. TEXT: H|           BJT - model parameters (input-output)           |
  6301. TEXT: H|-----------------------------------------------------------+
  6302. TEXT: H| npn               NPN type device                         |
  6303. TEXT: H| pnp               PNP type device                         |
  6304. TEXT: H| is                Saturation Current                      |
  6305. TEXT: H| bf                Ideal forward beta                      |
  6306. TEXT: H ------------------------------------------------------------
  6307. TEXT: H| nf                Forward emission coefficient            |
  6308. TEXT: H| vaf               Forward Early voltage                   |
  6309. TEXT: H| va                (null)                                  |
  6310. TEXT: H| ikf               Forward beta roll-off corner current    |
  6311. TEXT: H|-----------------------------------------------------------+
  6312. TEXT: H| ik                (null)                                  |
  6313. TEXT: H| ise               B-E leakage saturation current          |
  6314. TEXT: H| ne                B-E leakage emission coefficient        |
  6315. TEXT: H| br                Ideal reverse beta                      |
  6316. TEXT: H ------------------------------------------------------------
  6317. TEXT: H| nr                Reverse emission coefficient            |
  6318. TEXT: H| var               Reverse Early voltage                   |
  6319. TEXT: H| vb                (null)                                  |
  6320. TEXT: H| ikr               reverse beta roll-off corner current    |
  6321. TEXT: H|-----------------------------------------------------------+
  6322. TEXT: H| isc               B-C leakage saturation current          |
  6323. TEXT: H| nc                B-C leakage emission coefficient        |
  6324. TEXT: H| rb                Zero bias base resistance               |
  6325. TEXT: H| irb               Current for base resistance=(rb+rbm)/2  |
  6326. TEXT: H ------------------------------------------------------------
  6327. TEXT: H| rbm               Minimum base resistance                 |
  6328. TEXT: H| re                Emitter resistance                      |
  6329. TEXT: H| rc                Collector resistance                    |
  6330. TEXT: H| cje               Zero bias B-E depletion capacitance     |
  6331. TEXT: H|-----------------------------------------------------------+
  6332. TEXT: H| vje               B-E built in potential                  |
  6333. TEXT: H| pe                (null)                                  |
  6334. TEXT: H| mje               B-E junction grading coefficient        |
  6335. TEXT: H| me                (null)                                  |
  6336. TEXT: H ------------------------------------------------------------
  6337. TEXT: H| tf                Ideal forward transit time              |
  6338. TEXT: H| xtf               Coefficient for bias dependence of TF   |
  6339. TEXT: H| vtf               Voltage giving VBC dependence of TF     |
  6340. TEXT: H| itf               High current dependence of TF           |
  6341. TEXT: H|-----------------------------------------------------------+
  6342. TEXT: H| ptf               Excess phase                            |
  6343. TEXT: H| cjc               Zero bias B-C depletion capacitance     |
  6344. TEXT: H| vjc               B-C built in potential                  |
  6345. TEXT: H|                         _c_o_n_t_i_n_u_e_d                |
  6346. TEXT: H ------------------------------------------------------------
  6347. TEXT: H
  6348. TEXT: H 
  6349. TEXT: H ------------------------------------------------------------
  6350. TEXT: H|      BJT - model input-output parameters - _c_o_n_t_i_n_u_e_d
  6351. TEXT: H|-----------------------------------------------------------+
  6352. TEXT: H| pc                (null)                                  |
  6353. TEXT: H| mjc               B-C junction grading coefficient        |
  6354. TEXT: H| mc                (null)                                  |
  6355. TEXT: H| xcjc              Fraction of B-C cap to internal base    |
  6356. TEXT: H ------------------------------------------------------------
  6357. TEXT: H| tr                Ideal reverse transit time              |
  6358. TEXT: H| cjs               Zero bias C-S capacitance               |
  6359. TEXT: H| ccs               Zero bias C-S capacitance               |
  6360. TEXT: H| vjs               Substrate junction built in potential   |
  6361. TEXT: H|-----------------------------------------------------------+
  6362. TEXT: H| ps                (null)                                  |
  6363. TEXT: H| mjs               Substrate junction grading coefficient  |
  6364. TEXT: H| ms                (null)                                  |
  6365. TEXT: H| xtb               Forward and reverse beta temp. exp.     |
  6366. TEXT: H ------------------------------------------------------------
  6367. TEXT: H| eg                Energy gap for IS temp. dependency      |
  6368. TEXT: H| xti               Temp. exponent for IS                   |
  6369. TEXT: H| fc                Forward bias junction fit parameter     |
  6370. TEXT: H| tnom              Parameter measurement temperature       |
  6371. TEXT: H| kf                Flicker Noise Coefficient               |
  6372. TEXT: H| af                Flicker Noise Exponent                  |
  6373. TEXT: H ------------------------------------------------------------
  6374. TEXT: H
  6375. TEXT: H 
  6376. TEXT: H ------------------------------------------------------------
  6377. TEXT: H|            BJT - model parameters (output-only)           |
  6378. TEXT: H|-----------------------------------------------------------+
  6379. TEXT: H| type              NPN or PNP                              |
  6380. TEXT: H| invearlyvoltf     Inverse early voltage:forward           |
  6381. TEXT: H| invearlyvoltr     Inverse early voltage:reverse           |
  6382. TEXT: H| invrollofff       Inverse roll off - forward              |
  6383. TEXT: H ------------------------------------------------------------
  6384. TEXT: H| invrolloffr       Inverse roll off - reverse              |
  6385. TEXT: H| collectorconduct  Collector conductance                   |
  6386. TEXT: H| emitterconduct    Emitter conductance                     |
  6387. TEXT: H| transtimevbcfact  Transit time VBC factor                 |
  6388. TEXT: H| excessphasefactor Excess phase fact.                      |
  6389. TEXT: H ------------------------------------------------------------
  6390. TEXT: H
  6391.  
  6392. SUBJECT: BSIM1
  6393. TITLE: BSIM1:  Berkeley Short Channel IGFET Model
  6394. TEXT: H
  6395. TEXT: H _B._4.  _B_S_I_M_1:  _B_e_r_k_e_l_e_y _S_h_o_r_t _C_h_a_n_n_e_l _I_G_F_E_T _M_o_d_e_l
  6396. TEXT: H 
  6397. TEXT: H ------------------------------------------------------------
  6398. TEXT: H|          BSIM1 - instance parameters (input-only)         |
  6399. TEXT: H|-----------------------------------------------------------+
  6400. TEXT: H| ic                Vector of DS,GS,BS initial voltages     |
  6401. TEXT: H ------------------------------------------------------------
  6402. TEXT: H
  6403. TEXT: H 
  6404. TEXT: H ------------------------------------------------------------
  6405. TEXT: H|         BSIM1 - instance parameters (input-output)        |
  6406. TEXT: H|-----------------------------------------------------------+
  6407. TEXT: H| l                 Length                                  |
  6408. TEXT: H| w                 Width                                   |
  6409. TEXT: H| ad                Drain area                              |
  6410. TEXT: H| as                Source area                             |
  6411. TEXT: H ------------------------------------------------------------
  6412. TEXT: H| pd                Drain perimeter                         |
  6413. TEXT: H| ps                Source perimeter                        |
  6414. TEXT: H| nrd               Number of squares in drain              |
  6415. TEXT: H| nrs               Number of squares in source             |
  6416. TEXT: H|-----------------------------------------------------------+
  6417. TEXT: H| off               Device is initially off                 |
  6418. TEXT: H| vds               Initial D-S voltage                     |
  6419. TEXT: H| vgs               Initial G-S voltage                     |
  6420. TEXT: H| vbs               Initial B-S voltage                     |
  6421. TEXT: H ------------------------------------------------------------
  6422. TEXT: H
  6423. TEXT: H 
  6424. TEXT: H ------------------------------------------------------------
  6425. TEXT: H|           BSIM1 - model parameters (input-only)           |
  6426. TEXT: H|-----------------------------------------------------------+
  6427. TEXT: H| nmos              Flag to indicate NMOS                   |
  6428. TEXT: H| pmos              Flag to indicate PMOS                   |
  6429. TEXT: H ------------------------------------------------------------
  6430. TEXT: H
  6431. TEXT: H 
  6432. TEXT: H ------------------------------------------------------------
  6433. TEXT: H|          BSIM1 - model parameters (input-output)          |
  6434. TEXT: H|-----------------------------------------------------------+
  6435. TEXT: H| vfb               Flat band voltage                       |
  6436. TEXT: H  lvfb              Length dependence of vfb
  6437. TEXT: H| wvfb              Width dependence of vfb                 |
  6438. TEXT: H| phi               Strong inversion surface potential      |
  6439. TEXT: H ------------------------------------------------------------
  6440. TEXT: H| lphi              Length dependence of phi                |
  6441. TEXT: H| wphi              Width dependence of phi                 |
  6442. TEXT: H| k1                Bulk effect coefficient 1               |
  6443. TEXT: H| lk1               Length dependence of k1                 |
  6444. TEXT: H|-----------------------------------------------------------+
  6445. TEXT: H| wk1               Width dependence of k1                  |
  6446. TEXT: H| k2                Bulk effect coefficient 2               |
  6447. TEXT: H| lk2               Length dependence of k2                 |
  6448. TEXT: H| wk2               Width dependence of k2                  |
  6449. TEXT: H ------------------------------------------------------------
  6450. TEXT: H| eta               VDS dependence of threshold voltage     |
  6451. TEXT: H| leta              Length dependence of eta                |
  6452. TEXT: H| weta              Width dependence of eta                 |
  6453. TEXT: H| x2e               VBS dependence of eta                   |
  6454. TEXT: H| lx2e              Length dependence of x2e                |
  6455. TEXT: H|                         _c_o_n_t_i_n_u_e_d                |
  6456. TEXT: H ------------------------------------------------------------
  6457. TEXT: H
  6458. TEXT: H 
  6459. TEXT: H ---------------------------------------------------------------------
  6460. TEXT: H|          BSIM1 - model input-output parameters - _c_o_n_t_i_n_u_e_d|
  6461. TEXT: H|--------------------------------------------------------------------+
  6462. TEXT: H|wx2e           Width dependence of x2e                              |
  6463. TEXT: H|x3e            VDS dependence of eta                                |
  6464. TEXT: H|lx3e           Length dependence of x3e                             |
  6465. TEXT: H|wx3e           Width dependence of x3e                              |
  6466. TEXT: H ---------------------------------------------------------------------
  6467. TEXT: H|dl             Channel length reduction in um                       |
  6468. TEXT: H|dw             Channel width reduction in um                        |
  6469. TEXT: H|muz            Zero field mobility at VDS=0 VGS=VTH                 |
  6470. TEXT: H|x2mz           VBS dependence of muz                                |
  6471. TEXT: H|--------------------------------------------------------------------+
  6472. TEXT: H|lx2mz          Length dependence of x2mz                            |
  6473. TEXT: H|wx2mz          Width dependence of x2mz                             |
  6474. TEXT: H mus            Mobility at VDS=VDD VGS=VTH, channel length modulation
  6475. TEXT: H|lmus           Length dependence of mus                             |
  6476. TEXT: H ---------------------------------------------------------------------
  6477. TEXT: H|wmus           Width dependence of mus                              |
  6478. TEXT: H|x2ms           VBS dependence of mus                                |
  6479. TEXT: H|lx2ms          Length dependence of x2ms                            |
  6480. TEXT: H|wx2ms          Width dependence of x2ms                             |
  6481. TEXT: H|--------------------------------------------------------------------+
  6482. TEXT: H|x3ms           VDS dependence of mus                                |
  6483. TEXT: H|lx3ms          Length dependence of x3ms                            |
  6484. TEXT: H|wx3ms          Width dependence of x3ms                             |
  6485. TEXT: H|u0             VGS dependence of mobility                           |
  6486. TEXT: H ---------------------------------------------------------------------
  6487. TEXT: H|lu0            Length dependence of u0                              |
  6488. TEXT: H|wu0            Width dependence of u0                               |
  6489. TEXT: H|x2u0           VBS dependence of u0                                 |
  6490. TEXT: H|lx2u0          Length dependence of x2u0                            |
  6491. TEXT: H|--------------------------------------------------------------------+
  6492. TEXT: H|wx2u0          Width dependence of x2u0                             |
  6493. TEXT: H|u1             VDS depence of mobility, velocity saturation         |
  6494. TEXT: H|lu1            Length dependence of u1                              |
  6495. TEXT: H|wu1            Width dependence of u1                               |
  6496. TEXT: H ---------------------------------------------------------------------
  6497. TEXT: H|x2u1           VBS depence of u1                                    |
  6498. TEXT: H|lx2u1          Length depence of x2u1                               |
  6499. TEXT: H|wx2u1          Width depence of x2u1                                |
  6500. TEXT: H|x3u1           VDS depence of u1                                    |
  6501. TEXT: H|--------------------------------------------------------------------+
  6502. TEXT: H|lx3u1          Length dependence of x3u1                            |
  6503. TEXT: H|wx3u1          Width depence of x3u1                                |
  6504. TEXT: H|n0             Subthreshold slope                                   |
  6505. TEXT: H ln0            Length dependence of n0
  6506. TEXT: H ---------------------------------------------------------------------
  6507. TEXT: H|wn0            Width dependence of n0                               |
  6508. TEXT: H|nb             VBS dependence of subthreshold slope                 |
  6509. TEXT: H|lnb            Length dependence of nb                              |
  6510. TEXT: H|wnb            Width dependence of nb                               |
  6511. TEXT: H|--------------------------------------------------------------------+
  6512. TEXT: H|nd             VDS dependence of subthreshold slope                 |
  6513. TEXT: H|lnd            Length dependence of nd                              |
  6514. TEXT: H|wnd            Width dependence of nd                               |
  6515. TEXT: H|                              _c_o_n_t_i_n_u_e_d                    |
  6516. TEXT: H ---------------------------------------------------------------------
  6517. TEXT: H
  6518. TEXT: H 
  6519. TEXT: H ---------------------------------------------------------------------------
  6520. TEXT: H|             BSIM1 - model input-output parameters - _c_o_n_t_i_n_u_e_d   |
  6521. TEXT: H|--------------------------------------------------------------------------+
  6522. TEXT: H|tox            Gate oxide thickness in um                                 |
  6523. TEXT: H|temp           Temperature in degree Celcius                              |
  6524. TEXT: H|vdd            Supply voltage to specify mus                              |
  6525. TEXT: H|cgso           Gate source overlap capacitance per unit channel width(m)  |
  6526. TEXT: H ---------------------------------------------------------------------------
  6527. TEXT: H|cgdo           Gate drain overlap capacitance per unit channel width(m)   |
  6528. TEXT: H|cgbo           Gate bulk overlap capacitance per unit channel length(m)   |
  6529. TEXT: H|xpart          Flag for channel charge partitioning                       |
  6530. TEXT: H|rsh            Source drain diffusion sheet resistance in ohm per square  |
  6531. TEXT: H|--------------------------------------------------------------------------+
  6532. TEXT: H|js             Source drain junction saturation current per unit area     |
  6533. TEXT: H|pb             Source drain junction built in potential                   |
  6534. TEXT: H mj             Source drain bottom junction capacitance grading coefficient
  6535. TEXT: H|pbsw           Source drain side junction capacitance built in potential  |
  6536. TEXT: H ---------------------------------------------------------------------------
  6537. TEXT: H|mjsw           Source drain side junction capacitance grading coefficient |
  6538. TEXT: H|cj             Source drain bottom junction capacitance per unit area     |
  6539. TEXT: H|cjsw           Source drain side junction capacitance per unit area       |
  6540. TEXT: H|wdf            Default width of source drain diffusion in um              |
  6541. TEXT: H|dell           Length reduction of source drain diffusion                 |
  6542. TEXT: H ---------------------------------------------------------------------------
  6543. TEXT: H
  6544.  
  6545. SUBJECT: BSIM2
  6546. TITLE: BSIM2:  Berkeley Short Channel IGFET Model
  6547. TEXT: H
  6548. TEXT: H _B._5.  _B_S_I_M_2:  _B_e_r_k_e_l_e_y _S_h_o_r_t _C_h_a_n_n_e_l _I_G_F_E_T _M_o_d_e_l
  6549. TEXT: H 
  6550. TEXT: H ------------------------------------------------------------
  6551. TEXT: H|          BSIM2 - instance parameters (input-only)         |
  6552. TEXT: H|-----------------------------------------------------------+
  6553. TEXT: H| ic                Vector of DS,GS,BS initial voltages     |
  6554. TEXT: H ------------------------------------------------------------
  6555. TEXT: H
  6556. TEXT: H 
  6557. TEXT: H ------------------------------------------------------------
  6558. TEXT: H|         BSIM2 - instance parameters (input-output)        |
  6559. TEXT: H|-----------------------------------------------------------+
  6560. TEXT: H| l                 Length                                  |
  6561. TEXT: H| w                 Width                                   |
  6562. TEXT: H| ad                Drain area                              |
  6563. TEXT: H| as                Source area                             |
  6564. TEXT: H ------------------------------------------------------------
  6565. TEXT: H| pd                Drain perimeter                         |
  6566. TEXT: H| ps                Source perimeter                        |
  6567. TEXT: H| nrd               Number of squares in drain              |
  6568. TEXT: H| nrs               Number of squares in source             |
  6569. TEXT: H|-----------------------------------------------------------+
  6570. TEXT: H| off               Device is initially off                 |
  6571. TEXT: H| vds               Initial D-S voltage                     |
  6572. TEXT: H| vgs               Initial G-S voltage                     |
  6573. TEXT: H| vbs               Initial B-S voltage                     |
  6574. TEXT: H ------------------------------------------------------------
  6575. TEXT: H
  6576. TEXT: H 
  6577. TEXT: H ------------------------------------------------------------
  6578. TEXT: H|           BSIM2 - model parameters (input-only)           |
  6579. TEXT: H|-----------------------------------------------------------+
  6580. TEXT: H| nmos              Flag to indicate NMOS                   |
  6581. TEXT: H| pmos              Flag to indicate PMOS                   |
  6582. TEXT: H ------------------------------------------------------------
  6583. TEXT: H
  6584. TEXT: H 
  6585. TEXT: H ------------------------------------------------------------
  6586. TEXT: H|          BSIM2 - model parameters (input-output)          |
  6587. TEXT: H|-----------------------------------------------------------+
  6588. TEXT: H|vfb             Flat band voltage                          |
  6589. TEXT: H|lvfb            Length dependence of vfb                   |
  6590. TEXT: H|wvfb            Width dependence of vfb                    |
  6591. TEXT: H|phi             Strong inversion surface potential         |
  6592. TEXT: H ------------------------------------------------------------
  6593. TEXT: H|lphi            Length dependence of phi                   |
  6594. TEXT: H|wphi            Width dependence of phi                    |
  6595. TEXT: H|k1              Bulk effect coefficient 1                  |
  6596. TEXT: H|lk1             Length dependence of k1                    |
  6597. TEXT: H|-----------------------------------------------------------+
  6598. TEXT: H|wk1             Width dependence of k1                     |
  6599. TEXT: H|k2              Bulk effect coefficient 2                  |
  6600. TEXT: H|lk2             Length dependence of k2                    |
  6601. TEXT: H|wk2             Width dependence of k2                     |
  6602. TEXT: H ------------------------------------------------------------
  6603. TEXT: H|eta0            VDS dependence of threshold voltage at VDD=0
  6604. TEXT: H|leta0           Length dependence of eta0                  |
  6605. TEXT: H|weta0           Width dependence of eta0                   |
  6606. TEXT: H|etab            VBS dependence of eta                      |
  6607. TEXT: H|-----------------------------------------------------------+
  6608. TEXT: H|letab           Length dependence of etab                  |
  6609. TEXT: H|wetab           Width dependence of etab                   |
  6610. TEXT: H|dl              Channel length reduction in um             |
  6611. TEXT: H|dw              Channel width reduction in um              |
  6612. TEXT: H ------------------------------------------------------------
  6613. TEXT: H|mu0             Low-field mobility, at VDS=0 VGS=VTH       |
  6614. TEXT: H|mu0b            VBS dependence of low-field mobility       |
  6615. TEXT: H|lmu0b           Length dependence of mu0b                  |
  6616. TEXT: H|wmu0b           Width dependence of mu0b                   |
  6617. TEXT: H|-----------------------------------------------------------+
  6618. TEXT: H|mus0            Mobility at VDS=VDD VGS=VTH                |
  6619. TEXT: H|lmus0           Length dependence of mus0                  |
  6620. TEXT: H|wmus0           Width dependence of mus                    |
  6621. TEXT: H|musb            VBS dependence of mus                      |
  6622. TEXT: H ------------------------------------------------------------
  6623. TEXT: H|lmusb           Length dependence of musb                  |
  6624. TEXT: H|wmusb           Width dependence of musb                   |
  6625. TEXT: H|mu20            VDS dependence of mu in tanh term          |
  6626. TEXT: H|lmu20           Length dependence of mu20                  |
  6627. TEXT: H|-----------------------------------------------------------+
  6628. TEXT: H|wmu20           Width dependence of mu20                   |
  6629. TEXT: H|mu2b            VBS dependence of mu2                      |
  6630. TEXT: H|lmu2b           Length dependence of mu2b                  |
  6631. TEXT: H|wmu2b           Width dependence of mu2b                   |
  6632. TEXT: H ------------------------------------------------------------
  6633. TEXT: H|mu2g            VGS dependence of mu2                      |
  6634. TEXT: H|                         _c_o_n_t_i_n_u_e_d                |
  6635. TEXT: H ------------------------------------------------------------
  6636. TEXT: H
  6637. TEXT: H 
  6638. TEXT: H ------------------------------------------------------------
  6639. TEXT: H|     BSIM2 - model input-output parameters - _c_o_n_t_i_n_u_e_d
  6640. TEXT: H|-----------------------------------------------------------+
  6641. TEXT: H| lmu2g             Length dependence of mu2g               |
  6642. TEXT: H| wmu2g             Width dependence of mu2g                |
  6643. TEXT: H| mu30              VDS dependence of mu in linear term     |
  6644. TEXT: H| lmu30             Length dependence of mu30               |
  6645. TEXT: H ------------------------------------------------------------
  6646. TEXT: H| wmu30             Width dependence of mu30                |
  6647. TEXT: H| mu3b              VBS dependence of mu3                   |
  6648. TEXT: H| lmu3b             Length dependence of mu3b               |
  6649. TEXT: H| wmu3b             Width dependence of mu3b                |
  6650. TEXT: H|-----------------------------------------------------------+
  6651. TEXT: H| mu3g              VGS dependence of mu3                   |
  6652. TEXT: H| lmu3g             Length dependence of mu3g               |
  6653. TEXT: H| wmu3g             Width dependence of mu3g                |
  6654. TEXT: H| mu40              VDS dependence of mu in linear term     |
  6655. TEXT: H ------------------------------------------------------------
  6656. TEXT: H| lmu40             Length dependence of mu40               |
  6657. TEXT: H| wmu40             Width dependence of mu40                |
  6658. TEXT: H| mu4b              VBS dependence of mu4                   |
  6659. TEXT: H| lmu4b             Length dependence of mu4b               |
  6660. TEXT: H|-----------------------------------------------------------+
  6661. TEXT: H| wmu4b             Width dependence of mu4b                |
  6662. TEXT: H| mu4g              VGS dependence of mu4                   |
  6663. TEXT: H| lmu4g             Length dependence of mu4g               |
  6664. TEXT: H| wmu4g             Width dependence of mu4g                |
  6665. TEXT: H ------------------------------------------------------------
  6666. TEXT: H| ua0               Linear VGS dependence of mobility       |
  6667. TEXT: H| lua0              Length dependence of ua0                |
  6668. TEXT: H| wua0              Width dependence of ua0                 |
  6669. TEXT: H| uab               VBS dependence of ua                    |
  6670. TEXT: H|-----------------------------------------------------------+
  6671. TEXT: H| luab              Length dependence of uab                |
  6672. TEXT: H| wuab              Width dependence of uab                 |
  6673. TEXT: H| ub0               Quadratic VGS dependence of mobility    |
  6674. TEXT: H| lub0              Length dependence of ub0                |
  6675. TEXT: H ------------------------------------------------------------
  6676. TEXT: H| wub0              Width dependence of ub0                 |
  6677. TEXT: H| ubb               VBS dependence of ub                    |
  6678. TEXT: H| lubb              Length dependence of ubb                |
  6679. TEXT: H| wubb              Width dependence of ubb                 |
  6680. TEXT: H|-----------------------------------------------------------+
  6681. TEXT: H| u10               VDS depence of mobility                 |
  6682. TEXT: H| lu10              Length dependence of u10                |
  6683. TEXT: H  wu10              Width dependence of u10
  6684. TEXT: H| u1b               VBS depence of u1                       |
  6685. TEXT: H ------------------------------------------------------------
  6686. TEXT: H| lu1b              Length depence of u1b                   |
  6687. TEXT: H| wu1b              Width depence of u1b                    |
  6688. TEXT: H| u1d               VDS depence of u1                       |
  6689. TEXT: H| lu1d              Length depence of u1d                   |
  6690. TEXT: H|-----------------------------------------------------------+
  6691. TEXT: H| wu1d              Width depence of u1d                    |
  6692. TEXT: H| n0                Subthreshold slope at VDS=0 VBS=0       |
  6693. TEXT: H| ln0               Length dependence of n0                 |
  6694. TEXT: H|                         _c_o_n_t_i_n_u_e_d                |
  6695. TEXT: H ------------------------------------------------------------
  6696. TEXT: H
  6697. TEXT: H 
  6698. TEXT: H ------------------------------------------------------------------------
  6699. TEXT: H|           BSIM2 - model input-output parameters - _c_o_n_t_i_n_u_e_d  |
  6700. TEXT: H|-----------------------------------------------------------------------+
  6701. TEXT: H|wn0            Width dependence of n0                                  |
  6702. TEXT: H|nb             VBS dependence of n                                     |
  6703. TEXT: H|lnb            Length dependence of nb                                 |
  6704. TEXT: H|wnb            Width dependence of nb                                  |
  6705. TEXT: H ------------------------------------------------------------------------
  6706. TEXT: H|nd             VDS dependence of n                                     |
  6707. TEXT: H|lnd            Length dependence of nd                                 |
  6708. TEXT: H|wnd            Width dependence of nd                                  |
  6709. TEXT: H|vof0           Threshold voltage offset AT VDS=0 VBS=0                 |
  6710. TEXT: H|-----------------------------------------------------------------------+
  6711. TEXT: H|lvof0          Length dependence of vof0                               |
  6712. TEXT: H|wvof0          Width dependence of vof0                                |
  6713. TEXT: H|vofb           VBS dependence of vof                                   |
  6714. TEXT: H|lvofb          Length dependence of vofb                               |
  6715. TEXT: H ------------------------------------------------------------------------
  6716. TEXT: H|wvofb          Width dependence of vofb                                |
  6717. TEXT: H|vofd           VDS dependence of vof                                   |
  6718. TEXT: H|lvofd          Length dependence of vofd                               |
  6719. TEXT: H|wvofd          Width dependence of vofd                                |
  6720. TEXT: H|-----------------------------------------------------------------------+
  6721. TEXT: H|ai0            Pre-factor of hot-electron effect.                      |
  6722. TEXT: H|lai0           Length dependence of ai0                                |
  6723. TEXT: H|wai0           Width dependence of ai0                                 |
  6724. TEXT: H|aib            VBS dependence of ai                                    |
  6725. TEXT: H ------------------------------------------------------------------------
  6726. TEXT: H|laib           Length dependence of aib                                |
  6727. TEXT: H|waib           Width dependence of aib                                 |
  6728. TEXT: H|bi0            Exponential factor of hot-electron effect.              |
  6729. TEXT: H|lbi0           Length dependence of bi0                                |
  6730. TEXT: H|-----------------------------------------------------------------------+
  6731. TEXT: H|wbi0           Width dependence of bi0                                 |
  6732. TEXT: H|bib            VBS dependence of bi                                    |
  6733. TEXT: H|lbib           Length dependence of bib                                |
  6734. TEXT: H|wbib           Width dependence of bib                                 |
  6735. TEXT: H ------------------------------------------------------------------------
  6736. TEXT: H|vghigh         Upper bound of the cubic spline function.               |
  6737. TEXT: H|lvghigh        Length dependence of vghigh                             |
  6738. TEXT: H|wvghigh        Width dependence of vghigh                              |
  6739. TEXT: H|vglow          Lower bound of the cubic spline function.               |
  6740. TEXT: H|-----------------------------------------------------------------------+
  6741. TEXT: H|lvglow         Length dependence of vglow                              |
  6742. TEXT: H|wvglow         Width dependence of vglow                               |
  6743. TEXT: H|tox            Gate oxide thickness in um                              |
  6744. TEXT: H|temp           Temperature in degree Celcius                           |
  6745. TEXT: H ------------------------------------------------------------------------
  6746. TEXT: H|vdd            Maximum Vds                                             |
  6747. TEXT: H|vgg            Maximum Vgs                                             |
  6748. TEXT: H|vbb            Maximum Vbs                                             |
  6749. TEXT: H|cgso           Gate source overlap capacitance per unit channel width(m)
  6750. TEXT: H|-----------------------------------------------------------------------+
  6751. TEXT: H|cgdo           Gate drain overlap capacitance per unit channel width(m)|
  6752. TEXT: H|cgbo           Gate bulk overlap capacitance per unit channel length(m)|
  6753. TEXT: H|xpart          Flag for channel charge partitioning                    |
  6754. TEXT: H|                               _c_o_n_t_i_n_u_e_d                      |
  6755. TEXT: H ------------------------------------------------------------------------
  6756. TEXT: H
  6757. TEXT: H 
  6758. TEXT: H ---------------------------------------------------------------------------
  6759. TEXT: H|             BSIM2 - model input-output parameters - _c_o_n_t_i_n_u_e_d   |
  6760. TEXT: H|--------------------------------------------------------------------------+
  6761. TEXT: H|rsh            Source drain diffusion sheet resistance in ohm per square  |
  6762. TEXT: H|js             Source drain junction saturation current per unit area     |
  6763. TEXT: H|pb             Source drain junction built in potential                   |
  6764. TEXT: H mj             Source drain bottom junction capacitance grading coefficient
  6765. TEXT: H|                                                                          |
  6766. TEXT: H ---------------------------------------------------------------------------
  6767. TEXT: H|pbsw           Source drain side junction capacitance built in potential  |
  6768. TEXT: H|mjsw           Source drain side junction capacitance grading coefficient |
  6769. TEXT: H|cj             Source drain bottom junction capacitance per unit area     |
  6770. TEXT: H|cjsw           Source drain side junction capacitance per unit area       |
  6771. TEXT: H|wdf            Default width of source drain diffusion in um              |
  6772. TEXT: H|dell           Length reduction of source drain diffusion                 |
  6773. TEXT: H ---------------------------------------------------------------------------
  6774. TEXT: H
  6775.  
  6776. SUBJECT: Capacitor
  6777. TITLE: Capacitor:  Fixed capacitor
  6778. TEXT: H
  6779. TEXT: H _B._6.  _C_a_p_a_c_i_t_o_r:  _F_i_x_e_d _c_a_p_a_c_i_t_o_r
  6780. TEXT: H 
  6781. TEXT: H ------------------------------------------------------------
  6782. TEXT: H|       Capacitor - instance parameters (input-output)      |
  6783. TEXT: H|-----------------------------------------------------------+
  6784. TEXT: H| capacitance       Device capacitance                      |
  6785. TEXT: H| ic                Initial capacitor voltage               |
  6786. TEXT: H| w                 Device width                            |
  6787. TEXT: H| l                 Device length                           |
  6788. TEXT: H ------------------------------------------------------------
  6789. TEXT: H
  6790. TEXT: H 
  6791. TEXT: H ------------------------------------------------------------
  6792. TEXT: H|       Capacitor - instance parameters (output-only)       |
  6793. TEXT: H|-----------------------------------------------------------+
  6794. TEXT: H| i                 Device current                          |
  6795. TEXT: H| p                 Instantaneous device power              |
  6796. TEXT: H ------------------------------------------------------------
  6797. TEXT: H
  6798. TEXT: H 
  6799. TEXT: H ------------------------------------------------------------
  6800. TEXT: H|         Capacitor - model parameters (input-only)         |
  6801. TEXT: H|-----------------------------------------------------------+
  6802. TEXT: H| c                 Capacitor model                         |
  6803. TEXT: H ------------------------------------------------------------
  6804. TEXT: H
  6805. TEXT: H 
  6806. TEXT: H ------------------------------------------------------------
  6807. TEXT: H|        Capacitor - model parameters (input-output)        |
  6808. TEXT: H|-----------------------------------------------------------+
  6809. TEXT: H| cj                Bottom Capacitance per area             |
  6810. TEXT: H| cjsw              Sidewall capacitance per meter          |
  6811. TEXT: H| defw              Default width                           |
  6812. TEXT: H| narrow            width correction factor                 |
  6813. TEXT: H ------------------------------------------------------------
  6814. TEXT: H
  6815.  
  6816. SUBJECT: CCCS
  6817. TITLE: CCCS:  Current controlled current source
  6818. TEXT: H
  6819. TEXT: H _B._7.  _C_C_C_S:  _C_u_r_r_e_n_t _c_o_n_t_r_o_l_l_e_d _c_u_r_r_e_n_t _s_o_u_r_c_e
  6820. TEXT: H 
  6821. TEXT: H ------------------------------------------------------------
  6822. TEXT: H|         CCCS - instance parameters (input-output)         |
  6823. TEXT: H|-----------------------------------------------------------+
  6824. TEXT: H| gain              Gain of source                          |
  6825. TEXT: H| control           Name of controlling source              |
  6826. TEXT: H ------------------------------------------------------------
  6827. TEXT: H
  6828. TEXT: H 
  6829. TEXT: H ------------------------------------------------------------
  6830. TEXT: H|          CCCS - instance parameters (output-only)         |
  6831. TEXT: H|-----------------------------------------------------------+
  6832. TEXT: H| neg_node          Negative node of source                 |
  6833. TEXT: H| pos_node          Positive node of source                 |
  6834. TEXT: H| i                 CCCS output current                     |
  6835. TEXT: H| v                 CCCS voltage at output                  |
  6836. TEXT: H| p                 CCCS power                              |
  6837. TEXT: H ------------------------------------------------------------
  6838. TEXT: H
  6839.  
  6840. SUBJECT: CCVS
  6841. TITLE: CCVS:  Linear current controlled current source
  6842. TEXT: H
  6843. TEXT: H _B._8.  _C_C_V_S:  _L_i_n_e_a_r _c_u_r_r_e_n_t _c_o_n_t_r_o_l_l_e_d _c_u_r_r_e_n_t _s_o_u_r_c_e
  6844. TEXT: H 
  6845. TEXT: H ------------------------------------------------------------
  6846. TEXT: H|         CCVS - instance parameters (input-output)         |
  6847. TEXT: H|-----------------------------------------------------------+
  6848. TEXT: H| gain              Transresistance (gain)                  |
  6849. TEXT: H| control           Controlling voltage source              |
  6850. TEXT: H ------------------------------------------------------------
  6851. TEXT: H
  6852. TEXT: H 
  6853. TEXT: H ------------------------------------------------------------
  6854. TEXT: H|          CCVS - instance parameters (output-only)         |
  6855. TEXT: H|-----------------------------------------------------------+
  6856. TEXT: H| pos_node          Positive node of source                 |
  6857. TEXT: H| neg_node          Negative node of source                 |
  6858. TEXT: H| i                 CCVS output current                     |
  6859. TEXT: H| v                 CCVS output voltage                     |
  6860. TEXT: H| p                 CCVS power                              |
  6861. TEXT: H ------------------------------------------------------------
  6862. TEXT: H
  6863.  
  6864. SUBJECT: CSwitch
  6865. TITLE: CSwitch:  Current controlled ideal switch
  6866. TEXT: H
  6867. TEXT: H _B._9.  _C_S_w_i_t_c_h:  _C_u_r_r_e_n_t _c_o_n_t_r_o_l_l_e_d _i_d_e_a_l _s_w_i_t_c_h
  6868. TEXT: H 
  6869. TEXT: H ------------------------------------------------------------
  6870. TEXT: H|         CSwitch - instance parameters (input-only)        |
  6871. TEXT: H|-----------------------------------------------------------+
  6872. TEXT: H| on                Initially closed                        |
  6873. TEXT: H| off               Initially open                          |
  6874. TEXT: H ------------------------------------------------------------
  6875. TEXT: H
  6876. TEXT: H 
  6877. TEXT: H ------------------------------------------------------------
  6878. TEXT: H|        CSwitch - instance parameters (input-output)       |
  6879. TEXT: H|-----------------------------------------------------------+
  6880. TEXT: H| control           Name of controlling source              |
  6881. TEXT: H ------------------------------------------------------------
  6882. TEXT: H
  6883. TEXT: H 
  6884. TEXT: H ------------------------------------------------------------
  6885. TEXT: H|        CSwitch - instance parameters (output-only)        |
  6886. TEXT: H|-----------------------------------------------------------+
  6887. TEXT: H| pos_node          Positive node of switch                 |
  6888. TEXT: H| neg_node          Negative node of switch                 |
  6889. TEXT: H| i                 Switch current                          |
  6890. TEXT: H| p                 Instantaneous power                     |
  6891. TEXT: H ------------------------------------------------------------
  6892. TEXT: H
  6893. TEXT: H 
  6894. TEXT: H ------------------------------------------------------------
  6895. TEXT: H|         CSwitch - model parameters (input-output)         |
  6896. TEXT: H|-----------------------------------------------------------+
  6897. TEXT: H| csw               Current controlled switch model         |
  6898. TEXT: H| it                Threshold current                       |
  6899. TEXT: H| ih                Hysterisis current                      |
  6900. TEXT: H| ron               Closed resistance                       |
  6901. TEXT: H| roff              Open resistance                         |
  6902. TEXT: H ------------------------------------------------------------
  6903. TEXT: H
  6904. TEXT: H 
  6905. TEXT: H ------------------------------------------------------------
  6906. TEXT: H|          CSwitch - model parameters (output-only)         |
  6907. TEXT: H|-----------------------------------------------------------+
  6908. TEXT: H| gon               Closed conductance                      |
  6909. TEXT: H| goff              Open conductance                        |
  6910. TEXT: H ------------------------------------------------------------
  6911. TEXT: H
  6912.  
  6913. SUBJECT: Diode
  6914. TITLE: Diode:  Junction Diode model
  6915. TEXT: H
  6916. TEXT: H _B._1_0.  _D_i_o_d_e:  _J_u_n_c_t_i_o_n _D_i_o_d_e _m_o_d_e_l
  6917. TEXT: H 
  6918. TEXT: H ------------------------------------------------------------
  6919. TEXT: H|         Diode - instance parameters (input-output)        |
  6920. TEXT: H|-----------------------------------------------------------+
  6921. TEXT: H| off               Initially off                           |
  6922. TEXT: H| temp              Instance temperature                    |
  6923. TEXT: H| ic                Initial device voltage                  |
  6924. TEXT: H| area              Area factor                             |
  6925. TEXT: H ------------------------------------------------------------
  6926. TEXT: H
  6927. TEXT: H 
  6928. TEXT: H ------------------------------------------------------------
  6929. TEXT: H|         Diode - instance parameters (output-only)         |
  6930. TEXT: H|-----------------------------------------------------------+
  6931. TEXT: H| vd                Diode voltage                           |
  6932. TEXT: H| id                Diode current                           |
  6933. TEXT: H| c                 Diode current                           |
  6934. TEXT: H| gd                Diode conductance                       |
  6935. TEXT: H ------------------------------------------------------------
  6936. TEXT: H| cd                Diode capacitance                       |
  6937. TEXT: H| charge            Diode capacitor charge                  |
  6938. TEXT: H| capcur            Diode capacitor current                 |
  6939. TEXT: H| p                 Diode power                             |
  6940. TEXT: H ------------------------------------------------------------
  6941. TEXT: H
  6942. TEXT: H 
  6943. TEXT: H ------------------------------------------------------------
  6944. TEXT: H|           Diode - model parameters (input-only)           |
  6945. TEXT: H|-----------------------------------------------------------+
  6946. TEXT: H| d                 Diode model                             |
  6947. TEXT: H ------------------------------------------------------------
  6948. TEXT: H
  6949. TEXT: H 
  6950. TEXT: H ------------------------------------------------------------
  6951. TEXT: H|          Diode - model parameters (input-output)          |
  6952. TEXT: H|-----------------------------------------------------------+
  6953. TEXT: H| is                Saturation current                      |
  6954. TEXT: H| tnom              Parameter measurement temperature       |
  6955. TEXT: H| rs                Ohmic resistance                        |
  6956. TEXT: H| n                 Emission Coefficient                    |
  6957. TEXT: H ------------------------------------------------------------
  6958. TEXT: H| tt                Transit Time                            |
  6959. TEXT: H| cjo               Junction capacitance                    |
  6960. TEXT: H| cj0               (null)                                  |
  6961. TEXT: H| vj                Junction potential                      |
  6962. TEXT: H|-----------------------------------------------------------+
  6963. TEXT: H| m                 Grading coefficient                     |
  6964. TEXT: H| eg                Activation energy                       |
  6965. TEXT: H| xti               Saturation current temperature exp.     |
  6966. TEXT: H| kf                flicker noise coefficient               |
  6967. TEXT: H ------------------------------------------------------------
  6968. TEXT: H| af                flicker noise exponent                  |
  6969. TEXT: H| fc                Forward bias junction fit parameter     |
  6970. TEXT: H| bv                Reverse breakdown voltage               |
  6971. TEXT: H| ibv               Current at reverse breakdown voltage    |
  6972. TEXT: H ------------------------------------------------------------
  6973. TEXT: H
  6974. TEXT: H 
  6975. TEXT: H ------------------------------------------------------------
  6976. TEXT: H|           Diode - model parameters (output-only)          |
  6977. TEXT: H|-----------------------------------------------------------+
  6978. TEXT: H| cond              Ohmic conductance                       |
  6979. TEXT: H ------------------------------------------------------------
  6980. TEXT: H
  6981.  
  6982. SUBJECT: Inductor
  6983. TITLE: Inductor:  Inductors
  6984. TEXT: H
  6985. TEXT: H _B._1_1.  _I_n_d_u_c_t_o_r:  _I_n_d_u_c_t_o_r_s
  6986. TEXT: H 
  6987. TEXT: H ------------------------------------------------------------
  6988. TEXT: H|       Inductor - instance parameters (input-output)       |
  6989. TEXT: H|-----------------------------------------------------------+
  6990. TEXT: H| inductance        Inductance of inductor                  |
  6991. TEXT: H| ic                Initial current through inductor        |
  6992. TEXT: H ------------------------------------------------------------
  6993. TEXT: H
  6994. TEXT: H 
  6995. TEXT: H -------------------------------------------------------------
  6996. TEXT: H|        Inductor - instance parameters (output-only)        |
  6997. TEXT: H|------------------------------------------------------------+
  6998. TEXT: H|flux           Flux through inductor                        |
  6999. TEXT: H|v              Terminal voltage of inductor                 |
  7000. TEXT: H|volt                                                        |
  7001. TEXT: H|i              Current through the inductor                 |
  7002. TEXT: H|current                                                     |
  7003. TEXT: H p              instantaneous power dissipated by the inductor
  7004. TEXT: H|                                                            |
  7005. TEXT: H -------------------------------------------------------------
  7006. TEXT: H
  7007.  
  7008. SUBJECT: mutual
  7009. TITLE: mutual:  Mutual inductors
  7010. TEXT: H
  7011. TEXT: H _B._1_2.  _m_u_t_u_a_l:  _M_u_t_u_a_l _i_n_d_u_c_t_o_r_s
  7012. TEXT: H 
  7013. TEXT: H ------------------------------------------------------------
  7014. TEXT: H|        mutual - instance parameters (input-output)        |
  7015. TEXT: H|-----------------------------------------------------------+
  7016. TEXT: H| k                 Mutual inductance                       |
  7017. TEXT: H| coefficient       (null)                                  |
  7018. TEXT: H| inductor1         First coupled inductor                  |
  7019. TEXT: H| inductor2         Second coupled inductor                 |
  7020. TEXT: H ------------------------------------------------------------
  7021. TEXT: H
  7022.  
  7023. SUBJECT: Isource
  7024. TITLE: Isource:  Independent current source
  7025. TEXT: H
  7026. TEXT: H _B._1_3.  _I_s_o_u_r_c_e:  _I_n_d_e_p_e_n_d_e_n_t _c_u_r_r_e_n_t _s_o_u_r_c_e
  7027. TEXT: H 
  7028. TEXT: H ------------------------------------------------------------
  7029. TEXT: H|         Isource - instance parameters (input-only)        |
  7030. TEXT: H|-----------------------------------------------------------+
  7031. TEXT: H| pulse             Pulse description                       |
  7032. TEXT: H| sine              Sinusoidal source description           |
  7033. TEXT: H| sin               Sinusoidal source description           |
  7034. TEXT: H| exp               Exponential source description          |
  7035. TEXT: H ------------------------------------------------------------
  7036. TEXT: H| pwl               Piecewise linear description            |
  7037. TEXT: H| sffm              single freq. FM description             |
  7038. TEXT: H| ac                AC magnitude,phase vector               |
  7039. TEXT: H| c                 Current through current source          |
  7040. TEXT: H| distof1           f1 input for distortion                 |
  7041. TEXT: H| distof2           f2 input for distortion                 |
  7042. TEXT: H ------------------------------------------------------------
  7043. TEXT: H
  7044. TEXT: H 
  7045. TEXT: H ------------------------------------------------------------
  7046. TEXT: H|        Isource - instance parameters (input-output)       |
  7047. TEXT: H|-----------------------------------------------------------+
  7048. TEXT: H| dc                DC value of source                      |
  7049. TEXT: H| acmag             AC magnitude                            |
  7050. TEXT: H| acphase           AC phase                                |
  7051. TEXT: H ------------------------------------------------------------
  7052. TEXT: H
  7053. TEXT: H 
  7054. TEXT: H ------------------------------------------------------------
  7055. TEXT: H|        Isource - instance parameters (output-only)        |
  7056. TEXT: H|-----------------------------------------------------------+
  7057. TEXT: H| neg_node          Negative node of source                 |
  7058. TEXT: H| pos_node          Positive node of source                 |
  7059. TEXT: H  acreal            AC real part
  7060. TEXT: H| acimag            AC imaginary part                       |
  7061. TEXT: H ------------------------------------------------------------
  7062. TEXT: H| function          Function of the source                  |
  7063. TEXT: H| order             Order of the source function            |
  7064. TEXT: H| coeffs            Coefficients of the source              |
  7065. TEXT: H| v                 Voltage across the supply               |
  7066. TEXT: H| p                 Power supplied by the source            |
  7067. TEXT: H ------------------------------------------------------------
  7068. TEXT: H
  7069.  
  7070. SUBJECT: JFET
  7071. TITLE: JFET:  Junction Field effect transistor
  7072. TEXT: H
  7073. TEXT: H _B._1_4.  _J_F_E_T:  _J_u_n_c_t_i_o_n _F_i_e_l_d _e_f_f_e_c_t _t_r_a_n_s_i_s_t_o_r
  7074. TEXT: H 
  7075. TEXT: H ------------------------------------------------------------
  7076. TEXT: H|         JFET - instance parameters (input-output)         |
  7077. TEXT: H|-----------------------------------------------------------+
  7078. TEXT: H| off               Device initially off                    |
  7079. TEXT: H| ic                Initial VDS,VGS vector                  |
  7080. TEXT: H| area              Area factor                             |
  7081. TEXT: H| ic-vds            Initial D-S voltage                     |
  7082. TEXT: H| ic-vgs            Initial G-S volrage                     |
  7083. TEXT: H| temp              Instance temperature                    |
  7084. TEXT: H ------------------------------------------------------------
  7085. TEXT: H
  7086. TEXT: H 
  7087. TEXT: H ---------------------------------------------------------------
  7088. TEXT: H|           JFET - instance parameters (output-only)           |
  7089. TEXT: H|--------------------------------------------------------------+
  7090. TEXT: H|drain-node       Number of drain node                         |
  7091. TEXT: H|gate-node        Number of gate node                          |
  7092. TEXT: H|source-node      Number of source node                        |
  7093. TEXT: H|drain-prime-node Internal drain node                          |
  7094. TEXT: H ---------------------------------------------------------------
  7095. TEXT: H|source-prime-nodeInternal source node                         |
  7096. TEXT: H|vgs              Voltage G-S                                  |
  7097. TEXT: H|vgd              Voltage G-D                                  |
  7098. TEXT: H|ig               Current at gate node                         |
  7099. TEXT: H|--------------------------------------------------------------+
  7100. TEXT: H|id               Current at drain node                        |
  7101. TEXT: H|is               Source current                               |
  7102. TEXT: H|igd              Current G-D                                  |
  7103. TEXT: H|gm               Transconductance                             |
  7104. TEXT: H ---------------------------------------------------------------
  7105. TEXT: H|gds              Conductance D-S                              |
  7106. TEXT: H|ggs              Conductance G-S                              |
  7107. TEXT: H|ggd              Conductance G-D                              |
  7108. TEXT: H|qgs              Charge storage G-S junction                  |
  7109. TEXT: H|--------------------------------------------------------------+
  7110. TEXT: H|qgd              Charge storage G-D junction                  |
  7111. TEXT: H cqgs             Capacitance due to charge storage G-S junction
  7112. TEXT: H|                                                              |
  7113. TEXT: H cqgd             Capacitance due to charge storage G-D junction
  7114. TEXT: H|p                Power dissipated by the JFET                 |
  7115. TEXT: H ---------------------------------------------------------------
  7116. TEXT: H
  7117. TEXT: H 
  7118. TEXT: H ------------------------------------------------------------
  7119. TEXT: H|           JFET - model parameters (input-output)          |
  7120. TEXT: H|-----------------------------------------------------------+
  7121. TEXT: H| njf               N type JFET model                       |
  7122. TEXT: H| pjf               P type JFET model                       |
  7123. TEXT: H| vt0               Threshold voltage                       |
  7124. TEXT: H| vto               (null)                                  |
  7125. TEXT: H ------------------------------------------------------------
  7126. TEXT: H| beta              Transconductance parameter              |
  7127. TEXT: H| lambda            Channel length modulation param.        |
  7128. TEXT: H| rd                Drain ohmic resistance                  |
  7129. TEXT: H| rs                Source ohmic resistance                 |
  7130. TEXT: H| cgs               G-S junction capactance                 |
  7131. TEXT: H|                         _c_o_n_t_i_n_u_e_d                |
  7132. TEXT: H ------------------------------------------------------------
  7133. TEXT: H
  7134. TEXT: H 
  7135. TEXT: H ------------------------------------------------------------
  7136. TEXT: H|      JFET - model input-output parameters - _c_o_n_t_i_n_u_e_d
  7137. TEXT: H|-----------------------------------------------------------+
  7138. TEXT: H| cgd               G-D junction cap                        |
  7139. TEXT: H| pb                Gate junction potential                 |
  7140. TEXT: H| is                Gate junction saturation current        |
  7141. TEXT: H| fc                Forward bias junction fit parm.         |
  7142. TEXT: H ------------------------------------------------------------
  7143. TEXT: H| b                 Doping tail parameter                   |
  7144. TEXT: H| tnom              parameter measurement temperature       |
  7145. TEXT: H| kf                Flicker Noise Coefficient               |
  7146. TEXT: H| af                Flicker Noise Exponent                  |
  7147. TEXT: H ------------------------------------------------------------
  7148. TEXT: H
  7149. TEXT: H 
  7150. TEXT: H ------------------------------------------------------------
  7151. TEXT: H|           JFET - model parameters (output-only)           |
  7152. TEXT: H|-----------------------------------------------------------+
  7153. TEXT: H| type              N-type or P-type JFET model             |
  7154. TEXT: H| gd                Drain conductance                       |
  7155. TEXT: H| gs                Source conductance                      |
  7156. TEXT: H ------------------------------------------------------------
  7157. TEXT: H
  7158.  
  7159. SUBJECT: LTRA
  7160. TITLE: LTRA:  Lossy transmission line
  7161. TEXT: H
  7162. TEXT: H _B._1_5.  _L_T_R_A:  _L_o_s_s_y _t_r_a_n_s_m_i_s_s_i_o_n _l_i_n_e
  7163. TEXT: H 
  7164. TEXT: H ------------------------------------------------------------
  7165. TEXT: H|          LTRA - instance parameters (input-only)          |
  7166. TEXT: H|-----------------------------------------------------------+
  7167. TEXT: H| ic                Initial condition vector:v1,i1,v2,i2    |
  7168. TEXT: H ------------------------------------------------------------
  7169. TEXT: H
  7170. TEXT: H ------------------------------------------------------------
  7171. TEXT: H|         LTRA - instance parameters (input-output)         |
  7172. TEXT: H|-----------------------------------------------------------+
  7173. TEXT: H| v1                Initial voltage at end 1                |
  7174. TEXT: H| v2                Initial voltage at end 2                |
  7175. TEXT: H| i1                Initial current at end 1                |
  7176. TEXT: H| i2                Initial current at end 2                |
  7177. TEXT: H ------------------------------------------------------------
  7178. TEXT: H
  7179. TEXT: H 
  7180. TEXT: H ------------------------------------------------------------
  7181. TEXT: H|          LTRA - instance parameters (output-only)         |
  7182. TEXT: H|-----------------------------------------------------------+
  7183. TEXT: H| pos_node1         Positive node of end 1 of t-line        |
  7184. TEXT: H| neg_node1         Negative node of end 1 of t.line        |
  7185. TEXT: H| pos_node2         Positive node of end 2 of t-line        |
  7186. TEXT: H| neg_node2         Negative node of end 2 of t-line        |
  7187. TEXT: H ------------------------------------------------------------
  7188. TEXT: H
  7189. TEXT: H 
  7190. TEXT: H ------------------------------------------------------------
  7191. TEXT: H|           LTRA - model parameters (input-output)          |
  7192. TEXT: H|-----------------------------------------------------------+
  7193. TEXT: H|ltra            LTRA model                                 |
  7194. TEXT: H|r               Resistance per metre                       |
  7195. TEXT: H|l               Inductance per metre                       |
  7196. TEXT: H|g               (null)                                     |
  7197. TEXT: H ------------------------------------------------------------
  7198. TEXT: H|c               Capacitance per metre                      |
  7199. TEXT: H|len             length of line                             |
  7200. TEXT: H|nocontrol       No timestep control                        |
  7201. TEXT: H|steplimit       always limit timestep to 0.8*(delay of line)
  7202. TEXT: H|                         _c_o_n_t_i_n_u_e_d                |
  7203. TEXT: H ------------------------------------------------------------
  7204. TEXT: H
  7205. TEXT: H -----------------------------------------------------------------------------------
  7206. TEXT: H|                 LTRA - model input-output parameters - _c_o_n_t_i_n_u_e_d        |
  7207. TEXT: H|----------------------------------------------------------------------------------+
  7208. TEXT: H|nosteplimit    don't always limit timestep to 0.8*(delay of line)                 |
  7209. TEXT: H|lininterp      use linear interpolation                                           |
  7210. TEXT: H|quadinterp     use quadratic interpolation                                        |
  7211. TEXT: H|mixedinterp    use linear interpolation if quadratic results look unacceptable    |
  7212. TEXT: H -----------------------------------------------------------------------------------
  7213. TEXT: H|truncnr        use N-R iterations for step calculation in LTRAtrunc               |
  7214. TEXT: H|truncdontcut   don't limit timestep to keep impulse response calculation errors low
  7215. TEXT: H|compactrel     special reltol for straight line checking                          |
  7216. TEXT: H|compactabs     special abstol for straight line checking                          |
  7217. TEXT: H -----------------------------------------------------------------------------------
  7218. TEXT: H
  7219. TEXT: H 
  7220. TEXT: H ------------------------------------------------------------
  7221. TEXT: H|           LTRA - model parameters (output-only)           |
  7222. TEXT: H|-----------------------------------------------------------+
  7223. TEXT: H| rel               Rel. rate of change of deriv. for bkpt  |
  7224. TEXT: H| abs               Abs. rate of change of deriv. for bkpt  |
  7225. TEXT: H ------------------------------------------------------------
  7226. TEXT: H
  7227.  
  7228. SUBJECT: MES
  7229. TITLE: MES:  GaAs MESFET model
  7230. TEXT: H
  7231. TEXT: H _B._1_6.  _M_E_S:  _G_a_A_s _M_E_S_F_E_T _m_o_d_e_l
  7232. TEXT: H 
  7233. TEXT: H ------------------------------------------------------------
  7234. TEXT: H|          MES - instance parameters (input-output)         |
  7235. TEXT: H|-----------------------------------------------------------+
  7236. TEXT: H| area              Area factor                             |
  7237. TEXT: H| icvds             Initial D-S voltage                     |
  7238. TEXT: H| icvgs             Initial G-S voltage                     |
  7239. TEXT: H ------------------------------------------------------------
  7240. TEXT: H
  7241. TEXT: H 
  7242. TEXT: H ------------------------------------------------------------
  7243. TEXT: H|          MES - instance parameters (output-only)          |
  7244. TEXT: H|-----------------------------------------------------------+
  7245. TEXT: H|off            Device initially off                        |
  7246. TEXT: H|dnode          Number of drain node                        |
  7247. TEXT: H|gnode          Number of gate node                         |
  7248. TEXT: H|snode          Number of source node                       |
  7249. TEXT: H ------------------------------------------------------------
  7250. TEXT: H|dprimenode     Number of internal drain node               |
  7251. TEXT: H|sprimenode     Number of internal source node              |
  7252. TEXT: H|vgs            Gate-Source voltage                         |
  7253. TEXT: H|vgd            Gate-Drain voltage                          |
  7254. TEXT: H|-----------------------------------------------------------+
  7255. TEXT: H|cg             Gate capacitance                            |
  7256. TEXT: H|cd             Drain capacitance                           |
  7257. TEXT: H|cgd            Gate-Drain capacitance                      |
  7258. TEXT: H|gm             Transconductance                            |
  7259. TEXT: H ------------------------------------------------------------
  7260. TEXT: H|gds            Drain-Source conductance                    |
  7261. TEXT: H|ggs            Gate-Source conductance                     |
  7262. TEXT: H|ggd            Gate-Drain conductance                      |
  7263. TEXT: H|cqgs           Capacitance due to gate-source charge storage
  7264. TEXT: H|-----------------------------------------------------------+
  7265. TEXT: H|cqgd           Capacitance due to gate-drain charge storage|
  7266. TEXT: H|qgs            Gate-Source charge storage                  |
  7267. TEXT: H|qgd            Gate-Drain charge storage                   |
  7268. TEXT: H|is             Source current                              |
  7269. TEXT: H|                         _c_o_n_t_i_n_u_e_d                |
  7270. TEXT: H ------------------------------------------------------------
  7271. TEXT: H
  7272. TEXT: H 
  7273. TEXT: H ------------------------------------------------------------
  7274. TEXT: H|     MES - instance output-only parameters - _c_o_n_t_i_n_u_e_d
  7275. TEXT: H|-----------------------------------------------------------+
  7276. TEXT: H| p                 Power dissipated by the mesfet          |
  7277. TEXT: H ------------------------------------------------------------
  7278. TEXT: H 
  7279. TEXT: H ------------------------------------------------------------
  7280. TEXT: H|            MES - model parameters (input-only)            |
  7281. TEXT: H|-----------------------------------------------------------+
  7282. TEXT: H| nmf               N type MESfet model                     |
  7283. TEXT: H| pmf               P type MESfet model                     |
  7284. TEXT: H ------------------------------------------------------------
  7285. TEXT: H
  7286. TEXT: H 
  7287. TEXT: H ------------------------------------------------------------
  7288. TEXT: H|           MES - model parameters (input-output)           |
  7289. TEXT: H|-----------------------------------------------------------+
  7290. TEXT: H| vt0               Pinch-off voltage                       |
  7291. TEXT: H| vto               (null)                                  |
  7292. TEXT: H| alpha             Saturation voltage parameter            |
  7293. TEXT: H| beta              Transconductance parameter              |
  7294. TEXT: H ------------------------------------------------------------
  7295. TEXT: H| lambda            Channel length modulation parm.         |
  7296. TEXT: H| b                 Doping tail extending parameter         |
  7297. TEXT: H| rd                Drain ohmic resistance                  |
  7298. TEXT: H| rs                Source ohmic resistance                 |
  7299. TEXT: H|-----------------------------------------------------------+
  7300. TEXT: H| cgs               G-S junction capacitance                |
  7301. TEXT: H| cgd               G-D junction capacitance                |
  7302. TEXT: H| pb                Gate junction potential                 |
  7303. TEXT: H| is                Junction saturation current             |
  7304. TEXT: H ------------------------------------------------------------
  7305. TEXT: H| fc                Forward bias junction fit parm.         |
  7306. TEXT: H| kf                Flicker noise coefficient               |
  7307. TEXT: H| af                Flicker noise exponent                  |
  7308. TEXT: H ------------------------------------------------------------
  7309. TEXT: H
  7310. TEXT: H 
  7311. TEXT: H ------------------------------------------------------------
  7312. TEXT: H|            MES - model parameters (output-only)           |
  7313. TEXT: H|-----------------------------------------------------------+
  7314. TEXT: H| type              N-type or P-type MESfet model           |
  7315. TEXT: H| gd                Drain conductance                       |
  7316. TEXT: H| gs                Source conductance                      |
  7317. TEXT: H| depl_cap          Depletion capacitance                   |
  7318. TEXT: H| vcrit             Critical voltage                        |
  7319. TEXT: H ------------------------------------------------------------
  7320. TEXT: H
  7321.  
  7322. SUBJECT: Mos1
  7323. TITLE: Mos1:  Level 1 MOSfet model with Meyer capacitance model
  7324. TEXT: H
  7325. TEXT: H _B._1_7.  _M_o_s_1:  _L_e_v_e_l _1 _M_O_S_f_e_t _m_o_d_e_l  _w_i_t_h  _M_e_y_e_r  _c_a_p_a_c_i_t_a_n_c_e
  7326. TEXT: H _m_o_d_e_l
  7327. TEXT: H 
  7328. TEXT: H ------------------------------------------------------------
  7329. TEXT: H|          Mos1 - instance parameters (input-only)          |
  7330. TEXT: H|-----------------------------------------------------------+
  7331. TEXT: H| off               Device initially off                    |
  7332. TEXT: H| ic                Vector of D-S, G-S, B-S voltages        |
  7333. TEXT: H ------------------------------------------------------------
  7334. TEXT: H
  7335. TEXT: H 
  7336. TEXT: H ------------------------------------------------------------
  7337. TEXT: H|         Mos1 - instance parameters (input-output)         |
  7338. TEXT: H|-----------------------------------------------------------+
  7339. TEXT: H| l                 Length                                  |
  7340. TEXT: H| w                 Width                                   |
  7341. TEXT: H| ad                Drain area                              |
  7342. TEXT: H| as                Source area                             |
  7343. TEXT: H ------------------------------------------------------------
  7344. TEXT: H| pd                Drain perimeter                         |
  7345. TEXT: H| ps                Source perimeter                        |
  7346. TEXT: H| nrd               Drain squares                           |
  7347. TEXT: H| nrs               Source squares                          |
  7348. TEXT: H|-----------------------------------------------------------+
  7349. TEXT: H| icvds             Initial D-S voltage                     |
  7350. TEXT: H| icvgs             Initial G-S voltage                     |
  7351. TEXT: H| icvbs             Initial B-S voltage                     |
  7352. TEXT: H| temp              Instance temperature                    |
  7353. TEXT: H ------------------------------------------------------------
  7354. TEXT: H
  7355. TEXT: H 
  7356. TEXT: H ------------------------------------------------------------
  7357. TEXT: H|          Mos1 - instance parameters (output-only)         |
  7358. TEXT: H|-----------------------------------------------------------+
  7359. TEXT: H| id                Drain current                           |
  7360. TEXT: H| is                Source current                          |
  7361. TEXT: H| ig                Gate current                            |
  7362. TEXT: H| ib                Bulk current                            |
  7363. TEXT: H ------------------------------------------------------------
  7364. TEXT: H| ibd               B-D junction current                    |
  7365. TEXT: H| ibs               B-S junction current                    |
  7366. TEXT: H| vgs               Gate-Source voltage                     |
  7367. TEXT: H| vds               Drain-Source voltage                    |
  7368. TEXT: H|-----------------------------------------------------------+
  7369. TEXT: H| vbs               Bulk-Source voltage                     |
  7370. TEXT: H| vbd               Bulk-Drain voltage                      |
  7371. TEXT: H| dnode             Number of the drain node                |
  7372. TEXT: H| gnode             Number of the gate node                 |
  7373. TEXT: H ------------------------------------------------------------
  7374. TEXT: H| snode             Number of the source node               |
  7375. TEXT: H| bnode             Number of the node                      |
  7376. TEXT: H| dnodeprime        Number of int. drain node               |
  7377. TEXT: H| snodeprime        Number of int. source node              |
  7378. TEXT: H|-----------------------------------------------------------+
  7379. TEXT: H| von                                                       |
  7380. TEXT: H| vdsat             Saturation drain voltage                |
  7381. TEXT: H| sourcevcrit       Critical source voltage                 |
  7382. TEXT: H| drainvcrit        Critical drain voltage                  |
  7383. TEXT: H| rs                Source resistance                       |
  7384. TEXT: H|                         _c_o_n_t_i_n_u_e_d                |
  7385. TEXT: H ------------------------------------------------------------
  7386. TEXT: H
  7387. TEXT: H 
  7388. TEXT: H --------------------------------------------------------------
  7389. TEXT: H|      Mos1 - instance output-only parameters - _c_o_n_t_i_n_u_e_d
  7390. TEXT: H|-------------------------------------------------------------+
  7391. TEXT: H|sourceconductanceConductance of source                       |
  7392. TEXT: H|rd               Drain conductance                           |
  7393. TEXT: H|drainconductance Conductance of drain                        |
  7394. TEXT: H|gm               Transconductance                            |
  7395. TEXT: H --------------------------------------------------------------
  7396. TEXT: H|gds              Drain-Source conductance                    |
  7397. TEXT: H|gmb              Bulk-Source transconductance                |
  7398. TEXT: H|gmbs                                                         |
  7399. TEXT: H|gbd              Bulk-Drain conductance                      |
  7400. TEXT: H|-------------------------------------------------------------+
  7401. TEXT: H|gbs              Bulk-Source conductance                     |
  7402. TEXT: H|cbd              Bulk-Drain capacitance                      |
  7403. TEXT: H|cbs              Bulk-Source capacitance                     |
  7404. TEXT: H|cgs              Gate-Source capacitance                     |
  7405. TEXT: H --------------------------------------------------------------
  7406. TEXT: H|cgd              Gate-Drain capacitance                      |
  7407. TEXT: H|cgb              Gate-Bulk capacitance                       |
  7408. TEXT: H|cqgs             Capacitance due to gate-source charge storage
  7409. TEXT: H|cqgd             Capacitance due to gate-drain charge storage|
  7410. TEXT: H|-------------------------------------------------------------+
  7411. TEXT: H|cqgb             Capacitance due to gate-bulk charge storage |
  7412. TEXT: H|cqbd             Capacitance due to bulk-drain charge storage|
  7413. TEXT: H cqbs             Capacitance due to bulk-source charge storage
  7414. TEXT: H|cbd0             Zero-Bias B-D junction capacitance          |
  7415. TEXT: H --------------------------------------------------------------
  7416. TEXT: H|cbdsw0                                                       |
  7417. TEXT: H|cbs0             Zero-Bias B-S junction capacitance          |
  7418. TEXT: H|cbssw0                                                       |
  7419. TEXT: H|qgs              Gate-Source charge storage                  |
  7420. TEXT: H|-------------------------------------------------------------+
  7421. TEXT: H|qgd              Gate-Drain charge storage                   |
  7422. TEXT: H|qgb              Gate-Bulk charge storage                    |
  7423. TEXT: H|qbd              Bulk-Drain charge storage                   |
  7424. TEXT: H|qbs              Bulk-Source charge storage                  |
  7425. TEXT: H|p                Instaneous power                            |
  7426. TEXT: H --------------------------------------------------------------
  7427. TEXT: H
  7428. TEXT: H 
  7429. TEXT: H ------------------------------------------------------------
  7430. TEXT: H|            Mos1 - model parameters (input-only)           |
  7431. TEXT: H|-----------------------------------------------------------+
  7432. TEXT: H| nmos              N type MOSfet model                     |
  7433. TEXT: H| pmos              P type MOSfet model                     |
  7434. TEXT: H ------------------------------------------------------------
  7435. TEXT: H
  7436. TEXT: H 
  7437. TEXT: H ------------------------------------------------------------
  7438. TEXT: H|           Mos1 - model parameters (input-output)          |
  7439. TEXT: H|-----------------------------------------------------------+
  7440. TEXT: H| vto               Threshold voltage                       |
  7441. TEXT: H| vt0               (null)                                  |
  7442. TEXT: H| kp                Transconductance parameter              |
  7443. TEXT: H| gamma             Bulk threshold parameter                |
  7444. TEXT: H ------------------------------------------------------------
  7445. TEXT: H| phi               Surface potential                       |
  7446. TEXT: H| lambda            Channel length modulation               |
  7447. TEXT: H| rd                Drain ohmic resistance                  |
  7448. TEXT: H|                         _c_o_n_t_i_n_u_e_d                |
  7449. TEXT: H ------------------------------------------------------------
  7450. TEXT: H
  7451. TEXT: H 
  7452. TEXT: H ------------------------------------------------------------
  7453. TEXT: H|      Mos1 - model input-output parameters - _c_o_n_t_i_n_u_e_d
  7454. TEXT: H|-----------------------------------------------------------+
  7455. TEXT: H| rs                Source ohmic resistance                 |
  7456. TEXT: H| cbd               B-D junction capacitance                |
  7457. TEXT: H| cbs               B-S junction capacitance                |
  7458. TEXT: H| is                Bulk junction sat. current              |
  7459. TEXT: H ------------------------------------------------------------
  7460. TEXT: H| pb                Bulk junction potential                 |
  7461. TEXT: H| cgso              Gate-source overlap cap.                |
  7462. TEXT: H| cgdo              Gate-drain overlap cap.                 |
  7463. TEXT: H| cgbo              Gate-bulk overlap cap.                  |
  7464. TEXT: H|-----------------------------------------------------------+
  7465. TEXT: H| rsh               Sheet resistance                        |
  7466. TEXT: H| cj                Bottom junction cap per area            |
  7467. TEXT: H| mj                Bottom grading coefficient              |
  7468. TEXT: H| cjsw              Side junction cap per area              |
  7469. TEXT: H ------------------------------------------------------------
  7470. TEXT: H| mjsw              Side grading coefficient                |
  7471. TEXT: H| js                Bulk jct. sat. current density          |
  7472. TEXT: H| tox               Oxide thickness                         |
  7473. TEXT: H| ld                Lateral diffusion                       |
  7474. TEXT: H|-----------------------------------------------------------+
  7475. TEXT: H| u0                Surface mobility                        |
  7476. TEXT: H| uo                (null)                                  |
  7477. TEXT: H| fc                Forward bias jct. fit parm.             |
  7478. TEXT: H| nsub              Substrate doping                        |
  7479. TEXT: H ------------------------------------------------------------
  7480. TEXT: H| tpg               Gate type                               |
  7481. TEXT: H| nss               Surface state density                   |
  7482. TEXT: H| tnom              Parameter measurement temperature       |
  7483. TEXT: H| kf                Flicker noise coefficient               |
  7484. TEXT: H| af                Flicker noise exponent                  |
  7485. TEXT: H ------------------------------------------------------------
  7486. TEXT: H
  7487. TEXT: H 
  7488. TEXT: H ------------------------------------------------------------
  7489. TEXT: H|           Mos1 - model parameters (output-only)           |
  7490. TEXT: H|-----------------------------------------------------------+
  7491. TEXT: H| type              N-channel or P-channel MOS              |
  7492. TEXT: H ------------------------------------------------------------
  7493. TEXT: H
  7494.  
  7495. SUBJECT: Mos2
  7496. TITLE: Mos2:  Level 2 MOSfet model with Meyer capacitance model
  7497. TEXT: H
  7498. TEXT: H _B._1_8.  _M_o_s_2:  _L_e_v_e_l _2 _M_O_S_f_e_t _m_o_d_e_l  _w_i_t_h  _M_e_y_e_r  _c_a_p_a_c_i_t_a_n_c_e
  7499. TEXT: H _m_o_d_e_l
  7500. TEXT: H 
  7501. TEXT: H ------------------------------------------------------------
  7502. TEXT: H|          Mos2 - instance parameters (input-only)          |
  7503. TEXT: H|-----------------------------------------------------------+
  7504. TEXT: H| off               Device initially off                    |
  7505. TEXT: H| ic                Vector of D-S, G-S, B-S voltages        |
  7506. TEXT: H ------------------------------------------------------------
  7507. TEXT: H
  7508. TEXT: H 
  7509. TEXT: H ------------------------------------------------------------
  7510. TEXT: H|         Mos2 - instance parameters (input-output)         |
  7511. TEXT: H|-----------------------------------------------------------+
  7512. TEXT: H| l                 Length                                  |
  7513. TEXT: H| w                 Width                                   |
  7514. TEXT: H| ad                Drain area                              |
  7515. TEXT: H| as                Source area                             |
  7516. TEXT: H ------------------------------------------------------------
  7517. TEXT: H| pd                Drain perimeter                         |
  7518. TEXT: H| ps                Source perimeter                        |
  7519. TEXT: H| nrd               Drain squares                           |
  7520. TEXT: H| nrs               Source squares                          |
  7521. TEXT: H|-----------------------------------------------------------+
  7522. TEXT: H| icvds             Initial D-S voltage                     |
  7523. TEXT: H| icvgs             Initial G-S voltage                     |
  7524. TEXT: H| icvbs             Initial B-S voltage                     |
  7525. TEXT: H| temp              Instance operating temperature          |
  7526. TEXT: H ------------------------------------------------------------
  7527. TEXT: H
  7528. TEXT: H 
  7529. TEXT: H ------------------------------------------------------------
  7530. TEXT: H|          Mos2 - instance parameters (output-only)         |
  7531. TEXT: H|-----------------------------------------------------------+
  7532. TEXT: H| id                Drain current                           |
  7533. TEXT: H| cd                                                        |
  7534. TEXT: H| ibd               B-D junction current                    |
  7535. TEXT: H| ibs               B-S junction current                    |
  7536. TEXT: H ------------------------------------------------------------
  7537. TEXT: H| is                Source current                          |
  7538. TEXT: H| ig                Gate current                            |
  7539. TEXT: H| ib                Bulk current                            |
  7540. TEXT: H| vgs               Gate-Source voltage                     |
  7541. TEXT: H|-----------------------------------------------------------+
  7542. TEXT: H| vds               Drain-Source voltage                    |
  7543. TEXT: H| vbs               Bulk-Source voltage                     |
  7544. TEXT: H| vbd               Bulk-Drain voltage                      |
  7545. TEXT: H| dnode             Number of drain node                    |
  7546. TEXT: H ------------------------------------------------------------
  7547. TEXT: H| gnode             Number of gate node                     |
  7548. TEXT: H| snode             Number of source node                   |
  7549. TEXT: H| bnode             Number of bulk node                     |
  7550. TEXT: H| dnodeprime        Number of internal drain node           |
  7551. TEXT: H|-----------------------------------------------------------+
  7552. TEXT: H| snodeprime        Number of internal source node          |
  7553. TEXT: H| von                                                       |
  7554. TEXT: H| vdsat             Saturation drain voltage                |
  7555. TEXT: H| sourcevcrit       Critical source voltage                 |
  7556. TEXT: H| drainvcrit        Critical drain voltage                  |
  7557. TEXT: H|                         _c_o_n_t_i_n_u_e_d                |
  7558. TEXT: H ------------------------------------------------------------
  7559. TEXT: H
  7560. TEXT: H 
  7561. TEXT: H --------------------------------------------------------------
  7562. TEXT: H|      Mos2 - instance output-only parameters - _c_o_n_t_i_n_u_e_d
  7563. TEXT: H|-------------------------------------------------------------+
  7564. TEXT: H|rs               Source resistance                           |
  7565. TEXT: H|sourceconductanceSource conductance                          |
  7566. TEXT: H|rd               Drain resistance                            |
  7567. TEXT: H|drainconductance Drain conductance                           |
  7568. TEXT: H --------------------------------------------------------------
  7569. TEXT: H|gm               Transconductance                            |
  7570. TEXT: H|gds              Drain-Source conductance                    |
  7571. TEXT: H|gmb              Bulk-Source transconductance                |
  7572. TEXT: H|gmbs                                                         |
  7573. TEXT: H|-------------------------------------------------------------+
  7574. TEXT: H|gbd              Bulk-Drain conductance                      |
  7575. TEXT: H|gbs              Bulk-Source conductance                     |
  7576. TEXT: H|cbd              Bulk-Drain capacitance                      |
  7577. TEXT: H|cbs              Bulk-Source capacitance                     |
  7578. TEXT: H --------------------------------------------------------------
  7579. TEXT: H|cgs              Gate-Source capacitance                     |
  7580. TEXT: H|cgd              Gate-Drain capacitance                      |
  7581. TEXT: H|cgb              Gate-Bulk capacitance                       |
  7582. TEXT: H|cbd0             Zero-Bias B-D junction capacitance          |
  7583. TEXT: H|-------------------------------------------------------------+
  7584. TEXT: H|cbdsw0                                                       |
  7585. TEXT: H|cbs0             Zero-Bias B-S junction capacitance          |
  7586. TEXT: H|cbssw0                                                       |
  7587. TEXT: H cqgs             Capacitance due to gate-source charge storage
  7588. TEXT: H|                                                             |
  7589. TEXT: H --------------------------------------------------------------
  7590. TEXT: H|cqgd             Capacitance due to gate-drain charge storage|
  7591. TEXT: H|cqgb             Capacitance due to gate-bulk charge storage |
  7592. TEXT: H|cqbd             Capacitance due to bulk-drain charge storage|
  7593. TEXT: H|cqbs             Capacitance due to bulk-source charge storage
  7594. TEXT: H|-------------------------------------------------------------+
  7595. TEXT: H|qgs              Gate-Source charge storage                  |
  7596. TEXT: H|qgd              Gate-Drain charge storage                   |
  7597. TEXT: H|qgb              Gate-Bulk charge storage                    |
  7598. TEXT: H|qbd              Bulk-Drain charge storage                   |
  7599. TEXT: H|qbs              Bulk-Source charge storage                  |
  7600. TEXT: H|p                Instantaneous power                         |
  7601. TEXT: H --------------------------------------------------------------
  7602. TEXT: H
  7603. TEXT: H 
  7604. TEXT: H ------------------------------------------------------------
  7605. TEXT: H|            Mos2 - model parameters (input-only)           |
  7606. TEXT: H|-----------------------------------------------------------+
  7607. TEXT: H| nmos              N type MOSfet model                     |
  7608. TEXT: H| pmos              P type MOSfet model                     |
  7609. TEXT: H ------------------------------------------------------------
  7610. TEXT: H
  7611. TEXT: H 
  7612. TEXT: H ------------------------------------------------------------
  7613. TEXT: H|           Mos2 - model parameters (input-output)          |
  7614. TEXT: H|-----------------------------------------------------------+
  7615. TEXT: H| vto               Threshold voltage                       |
  7616. TEXT: H| vt0               (null)                                  |
  7617. TEXT: H| kp                Transconductance parameter              |
  7618. TEXT: H| gamma             Bulk threshold parameter                |
  7619. TEXT: H ------------------------------------------------------------
  7620. TEXT: H| phi               Surface potential                       |
  7621. TEXT: H| lambda            Channel length modulation               |
  7622. TEXT: H| rd                Drain ohmic resistance                  |
  7623. TEXT: H| rs                Source ohmic resistance                 |
  7624. TEXT: H|-----------------------------------------------------------+
  7625. TEXT: H| cbd               B-D junction capacitance                |
  7626. TEXT: H| cbs               B-S junction capacitance                |
  7627. TEXT: H| is                Bulk junction sat. current              |
  7628. TEXT: H| pb                Bulk junction potential                 |
  7629. TEXT: H ------------------------------------------------------------
  7630. TEXT: H| cgso              Gate-source overlap cap.                |
  7631. TEXT: H| cgdo              Gate-drain overlap cap.                 |
  7632. TEXT: H| cgbo              Gate-bulk overlap cap.                  |
  7633. TEXT: H| rsh               Sheet resistance                        |
  7634. TEXT: H|-----------------------------------------------------------+
  7635. TEXT: H| cj                Bottom junction cap per area            |
  7636. TEXT: H| mj                Bottom grading coefficient              |
  7637. TEXT: H| cjsw              Side junction cap per area              |
  7638. TEXT: H| mjsw              Side grading coefficient                |
  7639. TEXT: H ------------------------------------------------------------
  7640. TEXT: H| js                Bulk jct. sat. current density          |
  7641. TEXT: H| tox               Oxide thickness                         |
  7642. TEXT: H| ld                Lateral diffusion                       |
  7643. TEXT: H| u0                Surface mobility                        |
  7644. TEXT: H|-----------------------------------------------------------+
  7645. TEXT: H| uo                (null)                                  |
  7646. TEXT: H| fc                Forward bias jct. fit parm.             |
  7647. TEXT: H| nsub              Substrate doping                        |
  7648. TEXT: H| tpg               Gate type                               |
  7649. TEXT: H ------------------------------------------------------------
  7650. TEXT: H| nss               Surface state density                   |
  7651. TEXT: H| delta             Width effect on threshold               |
  7652. TEXT: H| uexp              Crit. field exp for mob. deg.           |
  7653. TEXT: H| ucrit             Crit. field for mob. degradation        |
  7654. TEXT: H|-----------------------------------------------------------+
  7655. TEXT: H| vmax              Maximum carrier drift velocity          |
  7656. TEXT: H| xj                Junction depth                          |
  7657. TEXT: H| neff              Total channel charge coeff.             |
  7658. TEXT: H| nfs               Fast surface state density              |
  7659. TEXT: H ------------------------------------------------------------
  7660. TEXT: H| tnom              Parameter measurement temperature       |
  7661. TEXT: H| kf                Flicker noise coefficient               |
  7662. TEXT: H| af                Flicker noise exponent                  |
  7663. TEXT: H ------------------------------------------------------------
  7664. TEXT: H
  7665. TEXT: H 
  7666. TEXT: H ------------------------------------------------------------
  7667. TEXT: H|           Mos2 - model parameters (output-only)           |
  7668. TEXT: H|-----------------------------------------------------------+
  7669. TEXT: H| type              N-channel or P-channel MOS              |
  7670. TEXT: H ------------------------------------------------------------
  7671.  
  7672. SUBJECT: Mos3
  7673. TITLE: Mos3:  Level 3 MOSfet model with Meyer capacitance model
  7674. TEXT: H
  7675. TEXT: H _B._1_9.  _M_o_s_3:  _L_e_v_e_l _3 _M_O_S_f_e_t _m_o_d_e_l  _w_i_t_h  _M_e_y_e_r  _c_a_p_a_c_i_t_a_n_c_e
  7676. TEXT: H _m_o_d_e_l
  7677. TEXT: H 
  7678. TEXT: H ------------------------------------------------------------
  7679. TEXT: H|          Mos3 - instance parameters (input-only)          |
  7680. TEXT: H|-----------------------------------------------------------+
  7681. TEXT: H| off               Device initially off                    |
  7682. TEXT: H ------------------------------------------------------------
  7683. TEXT: H
  7684. TEXT: H 
  7685. TEXT: H ------------------------------------------------------------
  7686. TEXT: H|         Mos3 - instance parameters (input-output)         |
  7687. TEXT: H|-----------------------------------------------------------+
  7688. TEXT: H| l                 Length                                  |
  7689. TEXT: H| w                 Width                                   |
  7690. TEXT: H| ad                Drain area                              |
  7691. TEXT: H| as                Source area                             |
  7692. TEXT: H ------------------------------------------------------------
  7693. TEXT: H| pd                Drain perimeter                         |
  7694. TEXT: H| ps                Source perimeter                        |
  7695. TEXT: H| nrd               Drain squares                           |
  7696. TEXT: H| nrs               Source squares                          |
  7697. TEXT: H|-----------------------------------------------------------+
  7698. TEXT: H| icvds             Initial D-S voltage                     |
  7699. TEXT: H| icvgs             Initial G-S voltage                     |
  7700. TEXT: H| icvbs             Initial B-S voltage                     |
  7701. TEXT: H| ic                Vector of D-S, G-S, B-S voltages        |
  7702. TEXT: H| temp              Instance operating temperature          |
  7703. TEXT: H ------------------------------------------------------------
  7704. TEXT: H
  7705. TEXT: H 
  7706. TEXT: H ------------------------------------------------------------
  7707. TEXT: H|          Mos3 - instance parameters (output-only)         |
  7708. TEXT: H|-----------------------------------------------------------+
  7709. TEXT: H| id                Drain current                           |
  7710. TEXT: H| cd                Drain current                           |
  7711. TEXT: H| ibd               B-D junction current                    |
  7712. TEXT: H| ibs               B-S junction current                    |
  7713. TEXT: H ------------------------------------------------------------
  7714. TEXT: H| is                Source current                          |
  7715. TEXT: H| ig                Gate current                            |
  7716. TEXT: H| ib                Bulk current                            |
  7717. TEXT: H| vgs               Gate-Source voltage                     |
  7718. TEXT: H|-----------------------------------------------------------+
  7719. TEXT: H| vds               Drain-Source voltage                    |
  7720. TEXT: H| vbs               Bulk-Source voltage                     |
  7721. TEXT: H| vbd               Bulk-Drain voltage                      |
  7722. TEXT: H| dnode             Number of drain node                    |
  7723. TEXT: H ------------------------------------------------------------
  7724. TEXT: H| gnode             Number of gate node                     |
  7725. TEXT: H| snode             Number of source node                   |
  7726. TEXT: H| bnode             Number of bulk node                     |
  7727. TEXT: H| dnodeprime        Number of internal drain node           |
  7728. TEXT: H| snodeprime        Number of internal source node          |
  7729. TEXT: H|                         _c_o_n_t_i_n_u_e_d                |
  7730. TEXT: H ------------------------------------------------------------
  7731. TEXT: H
  7732. TEXT: H 
  7733. TEXT: H --------------------------------------------------------------
  7734. TEXT: H|      Mos3 - instance output-only parameters - _c_o_n_t_i_n_u_e_d
  7735. TEXT: H|-------------------------------------------------------------+
  7736. TEXT: H|von              Turn-on voltage                             |
  7737. TEXT: H|vdsat            Saturation drain voltage                    |
  7738. TEXT: H|sourcevcrit      Critical source voltage                     |
  7739. TEXT: H|drainvcrit       Critical drain voltage                      |
  7740. TEXT: H --------------------------------------------------------------
  7741. TEXT: H|rs               Source resistance                           |
  7742. TEXT: H|sourceconductanceSource conductance                          |
  7743. TEXT: H|rd               Drain resistance                            |
  7744. TEXT: H|drainconductance Drain conductance                           |
  7745. TEXT: H|-------------------------------------------------------------+
  7746. TEXT: H|gm               Transconductance                            |
  7747. TEXT: H|gds              Drain-Source conductance                    |
  7748. TEXT: H|gmb              Bulk-Source transconductance                |
  7749. TEXT: H|gmbs             Bulk-Source transconductance                |
  7750. TEXT: H --------------------------------------------------------------
  7751. TEXT: H|gbd              Bulk-Drain conductance                      |
  7752. TEXT: H|gbs              Bulk-Source conductance                     |
  7753. TEXT: H|cbd              Bulk-Drain capacitance                      |
  7754. TEXT: H|cbs              Bulk-Source capacitance                     |
  7755. TEXT: H|-------------------------------------------------------------+
  7756. TEXT: H|cgs              Gate-Source capacitance                     |
  7757. TEXT: H|cgd              Gate-Drain capacitance                      |
  7758. TEXT: H|cgb              Gate-Bulk capacitance                       |
  7759. TEXT: H cqgs             Capacitance due to gate-source charge storage
  7760. TEXT: H|                                                             |
  7761. TEXT: H --------------------------------------------------------------
  7762. TEXT: H|cqgd             Capacitance due to gate-drain charge storage|
  7763. TEXT: H|cqgb             Capacitance due to gate-bulk charge storage |
  7764. TEXT: H|cqbd             Capacitance due to bulk-drain charge storage|
  7765. TEXT: H|cqbs             Capacitance due to bulk-source charge storage
  7766. TEXT: H|-------------------------------------------------------------+
  7767. TEXT: H|cbd0             Zero-Bias B-D junction capacitance          |
  7768. TEXT: H|cbdsw0           Zero-Bias B-D sidewall capacitance          |
  7769. TEXT: H|cbs0             Zero-Bias B-S junction capacitance          |
  7770. TEXT: H|cbssw0           Zero-Bias B-S sidewall capacitance          |
  7771. TEXT: H --------------------------------------------------------------
  7772. TEXT: H|qbs              Bulk-Source charge storage                  |
  7773. TEXT: H|qgs              Gate-Source charge storage                  |
  7774. TEXT: H|qgd              Gate-Drain charge storage                   |
  7775. TEXT: H|qgb              Gate-Bulk charge storage                    |
  7776. TEXT: H|qbd              Bulk-Drain charge storage                   |
  7777. TEXT: H|p                Instantaneous power                         |
  7778. TEXT: H --------------------------------------------------------------
  7779. TEXT: H
  7780. TEXT: H 
  7781. TEXT: H ------------------------------------------------------------
  7782. TEXT: H|            Mos3 - model parameters (input-only)           |
  7783. TEXT: H|-----------------------------------------------------------+
  7784. TEXT: H| nmos              N type MOSfet model                     |
  7785. TEXT: H| pmos              P type MOSfet model                     |
  7786. TEXT: H ------------------------------------------------------------
  7787. TEXT: H
  7788. TEXT: H 
  7789. TEXT: H ------------------------------------------------------------
  7790. TEXT: H|           Mos3 - model parameters (input-output)          |
  7791. TEXT: H|-----------------------------------------------------------+
  7792. TEXT: H| vto               Threshold voltage                       |
  7793. TEXT: H| vt0               (null)                                  |
  7794. TEXT: H| kp                Transconductance parameter              |
  7795. TEXT: H| gamma             Bulk threshold parameter                |
  7796. TEXT: H ------------------------------------------------------------
  7797. TEXT: H| phi               Surface potential                       |
  7798. TEXT: H| rd                Drain ohmic resistance                  |
  7799. TEXT: H| rs                Source ohmic resistance                 |
  7800. TEXT: H| cbd               B-D junction capacitance                |
  7801. TEXT: H|-----------------------------------------------------------+
  7802. TEXT: H| cbs               B-S junction capacitance                |
  7803. TEXT: H| is                Bulk junction sat. current              |
  7804. TEXT: H| pb                Bulk junction potential                 |
  7805. TEXT: H| cgso              Gate-source overlap cap.                |
  7806. TEXT: H ------------------------------------------------------------
  7807. TEXT: H| cgdo              Gate-drain overlap cap.                 |
  7808. TEXT: H| cgbo              Gate-bulk overlap cap.                  |
  7809. TEXT: H| rsh               Sheet resistance                        |
  7810. TEXT: H| cj                Bottom junction cap per area            |
  7811. TEXT: H|-----------------------------------------------------------+
  7812. TEXT: H| mj                Bottom grading coefficient              |
  7813. TEXT: H| cjsw              Side junction cap per area              |
  7814. TEXT: H| mjsw              Side grading coefficient                |
  7815. TEXT: H| js                Bulk jct. sat. current density          |
  7816. TEXT: H ------------------------------------------------------------
  7817. TEXT: H| tox               Oxide thickness                         |
  7818. TEXT: H| ld                Lateral diffusion                       |
  7819. TEXT: H| u0                Surface mobility                        |
  7820. TEXT: H| uo                (null)                                  |
  7821. TEXT: H|-----------------------------------------------------------+
  7822. TEXT: H| fc                Forward bias jct. fit parm.             |
  7823. TEXT: H| nsub              Substrate doping                        |
  7824. TEXT: H| tpg               Gate type                               |
  7825. TEXT: H| nss               Surface state density                   |
  7826. TEXT: H ------------------------------------------------------------
  7827. TEXT: H| vmax              Maximum carrier drift velocity          |
  7828. TEXT: H| xj                Junction depth                          |
  7829. TEXT: H| nfs               Fast surface state density              |
  7830. TEXT: H| xd                Depletion layer width                   |
  7831. TEXT: H|-----------------------------------------------------------+
  7832. TEXT: H| alpha             Alpha                                   |
  7833. TEXT: H| eta               Vds dependence of threshold voltage     |
  7834. TEXT: H| delta             Width effect on threshold               |
  7835. TEXT: H| input_delta       (null)                                  |
  7836. TEXT: H ------------------------------------------------------------
  7837. TEXT: H| theta             Vgs dependence on mobility              |
  7838. TEXT: H| kappa             Kappa                                   |
  7839. TEXT: H| tnom              Parameter measurement temperature       |
  7840. TEXT: H| kf                Flicker noise coefficient               |
  7841. TEXT: H| af                Flicker noise exponent                  |
  7842. TEXT: H ------------------------------------------------------------
  7843. TEXT: H
  7844. TEXT: H 
  7845. TEXT: H ------------------------------------------------------------
  7846. TEXT: H|           Mos3 - model parameters (output-only)           |
  7847. TEXT: H|-----------------------------------------------------------+
  7848. TEXT: H| type              N-channel or P-channel MOS              |
  7849. TEXT: H ------------------------------------------------------------
  7850. TEXT: H
  7851.  
  7852. SUBJECT: Mos6
  7853. TITLE: Mos6:  Level 6 MOSfet model with Meyer capacitance model
  7854. TEXT: H
  7855. TEXT: H _B._2_0.  _M_o_s_6:  _L_e_v_e_l _6 _M_O_S_f_e_t _m_o_d_e_l  _w_i_t_h  _M_e_y_e_r  _c_a_p_a_c_i_t_a_n_c_e
  7856. TEXT: H _m_o_d_e_l
  7857. TEXT: H 
  7858. TEXT: H ------------------------------------------------------------
  7859. TEXT: H|          Mos6 - instance parameters (input-only)          |
  7860. TEXT: H|-----------------------------------------------------------+
  7861. TEXT: H| off               Device initially off                    |
  7862. TEXT: H| ic                Vector of D-S, G-S, B-S voltages        |
  7863. TEXT: H ------------------------------------------------------------
  7864. TEXT: H
  7865. TEXT: H 
  7866. TEXT: H ------------------------------------------------------------
  7867. TEXT: H|         Mos6 - instance parameters (input-output)         |
  7868. TEXT: H|-----------------------------------------------------------+
  7869. TEXT: H| l                 Length                                  |
  7870. TEXT: H| w                 Width                                   |
  7871. TEXT: H| ad                Drain area                              |
  7872. TEXT: H| as                Source area                             |
  7873. TEXT: H ------------------------------------------------------------
  7874. TEXT: H| pd                Drain perimeter                         |
  7875. TEXT: H| ps                Source perimeter                        |
  7876. TEXT: H| nrd               Drain squares                           |
  7877. TEXT: H| nrs               Source squares                          |
  7878. TEXT: H|-----------------------------------------------------------+
  7879. TEXT: H| icvds             Initial D-S voltage                     |
  7880. TEXT: H| icvgs             Initial G-S voltage                     |
  7881. TEXT: H| icvbs             Initial B-S voltage                     |
  7882. TEXT: H| temp              Instance temperature                    |
  7883. TEXT: H ------------------------------------------------------------
  7884. TEXT: H
  7885. TEXT: H 
  7886. TEXT: H ------------------------------------------------------------
  7887. TEXT: H|          Mos6 - instance parameters (output-only)         |
  7888. TEXT: H|-----------------------------------------------------------+
  7889. TEXT: H| id                Drain current                           |
  7890. TEXT: H| cd                Drain current                           |
  7891. TEXT: H| is                Source current                          |
  7892. TEXT: H| ig                Gate current                            |
  7893. TEXT: H ------------------------------------------------------------
  7894. TEXT: H| ib                Bulk current                            |
  7895. TEXT: H| ibs               B-S junction capacitance                |
  7896. TEXT: H| ibd               B-D junction capacitance                |
  7897. TEXT: H| vgs               Gate-Source voltage                     |
  7898. TEXT: H|-----------------------------------------------------------+
  7899. TEXT: H| vds               Drain-Source voltage                    |
  7900. TEXT: H| vbs               Bulk-Source voltage                     |
  7901. TEXT: H| vbd               Bulk-Drain voltage                      |
  7902. TEXT: H| dnode             Number of the drain node                |
  7903. TEXT: H ------------------------------------------------------------
  7904. TEXT: H| gnode             Number of the gate node                 |
  7905. TEXT: H| snode             Number of the source node               |
  7906. TEXT: H| bnode             Number of the node                      |
  7907. TEXT: H| dnodeprime        Number of int. drain node               |
  7908. TEXT: H| snodeprime        Number of int. source node              |
  7909. TEXT: H|                         _c_o_n_t_i_n_u_e_d                |
  7910. TEXT: H ------------------------------------------------------------
  7911. TEXT: H
  7912. TEXT: H 
  7913. TEXT: H --------------------------------------------------------------
  7914. TEXT: H|      Mos6 - instance output-only parameters - _c_o_n_t_i_n_u_e_d
  7915. TEXT: H|-------------------------------------------------------------+
  7916. TEXT: H|rs               Source resistance                           |
  7917. TEXT: H|sourceconductanceSource conductance                          |
  7918. TEXT: H|rd               Drain resistance                            |
  7919. TEXT: H|drainconductance Drain conductance                           |
  7920. TEXT: H --------------------------------------------------------------
  7921. TEXT: H|von              Turn-on voltage                             |
  7922. TEXT: H|vdsat            Saturation drain voltage                    |
  7923. TEXT: H|sourcevcrit      Critical source voltage                     |
  7924. TEXT: H|drainvcrit       Critical drain voltage                      |
  7925. TEXT: H|-------------------------------------------------------------+
  7926. TEXT: H|gmbs             Bulk-Source transconductance                |
  7927. TEXT: H|gm               Transconductance                            |
  7928. TEXT: H|gds              Drain-Source conductance                    |
  7929. TEXT: H|gbd              Bulk-Drain conductance                      |
  7930. TEXT: H --------------------------------------------------------------
  7931. TEXT: H|gbs              Bulk-Source conductance                     |
  7932. TEXT: H|cgs              Gate-Source capacitance                     |
  7933. TEXT: H|cgd              Gate-Drain capacitance                      |
  7934. TEXT: H|cgb              Gate-Bulk capacitance                       |
  7935. TEXT: H|-------------------------------------------------------------+
  7936. TEXT: H|cbd              Bulk-Drain capacitance                      |
  7937. TEXT: H|cbs              Bulk-Source capacitance                     |
  7938. TEXT: H|cbd0             Zero-Bias B-D junction capacitance          |
  7939. TEXT: H|cbdsw0                                                       |
  7940. TEXT: H --------------------------------------------------------------
  7941. TEXT: H|cbs0             Zero-Bias B-S junction capacitance          |
  7942. TEXT: H|cbssw0                                                       |
  7943. TEXT: H|cqgs             Capacitance due to gate-source charge storage
  7944. TEXT: H|cqgd             Capacitance due to gate-drain charge storage|
  7945. TEXT: H|-------------------------------------------------------------+
  7946. TEXT: H|cqgb             Capacitance due to gate-bulk charge storage |
  7947. TEXT: H|cqbd             Capacitance due to bulk-drain charge storage|
  7948. TEXT: H cqbs             Capacitance due to bulk-source charge storage
  7949. TEXT: H|qgs              Gate-Source charge storage                  |
  7950. TEXT: H --------------------------------------------------------------
  7951. TEXT: H|qgd              Gate-Drain charge storage                   |
  7952. TEXT: H|qgb              Gate-Bulk charge storage                    |
  7953. TEXT: H|qbd              Bulk-Drain charge storage                   |
  7954. TEXT: H|qbs              Bulk-Source charge storage                  |
  7955. TEXT: H|p                Instaneous power                            |
  7956. TEXT: H --------------------------------------------------------------
  7957. TEXT: H
  7958. TEXT: H 
  7959. TEXT: H ------------------------------------------------------------
  7960. TEXT: H|            Mos6 - model parameters (input-only)           |
  7961. TEXT: H|-----------------------------------------------------------+
  7962. TEXT: H| nmos              N type MOSfet model                     |
  7963. TEXT: H| pmos              P type MOSfet model                     |
  7964. TEXT: H ------------------------------------------------------------
  7965. TEXT: H
  7966. TEXT: H 
  7967. TEXT: H ------------------------------------------------------------
  7968. TEXT: H|           Mos6 - model parameters (input-output)          |
  7969. TEXT: H|-----------------------------------------------------------+
  7970. TEXT: H| vto               Threshold voltage                       |
  7971. TEXT: H| vt0               (null)                                  |
  7972. TEXT: H| kv                Saturation voltage factor               |
  7973. TEXT: H| nv                Saturation voltage coeff.               |
  7974. TEXT: H ------------------------------------------------------------
  7975. TEXT: H| kc                Saturation current factor               |
  7976. TEXT: H| nc                Saturation current coeff.               |
  7977. TEXT: H| nvth              Threshold voltage coeff.                |
  7978. TEXT: H| ps                Sat. current modification  par.         |
  7979. TEXT: H|-----------------------------------------------------------+
  7980. TEXT: H| gamma             Bulk threshold parameter                |
  7981. TEXT: H| gamma1            Bulk threshold parameter 1              |
  7982. TEXT: H| sigma             Static feedback effect par.             |
  7983. TEXT: H| phi               Surface potential                       |
  7984. TEXT: H ------------------------------------------------------------
  7985. TEXT: H| lambda            Channel length modulation param.        |
  7986. TEXT: H| lambda0           Channel length modulation param. 0      |
  7987. TEXT: H| lambda1           Channel length modulation param. 1      |
  7988. TEXT: H| rd                Drain ohmic resistance                  |
  7989. TEXT: H|-----------------------------------------------------------+
  7990. TEXT: H| rs                Source ohmic resistance                 |
  7991. TEXT: H| cbd               B-D junction capacitance                |
  7992. TEXT: H| cbs               B-S junction capacitance                |
  7993. TEXT: H| is                Bulk junction sat. current              |
  7994. TEXT: H ------------------------------------------------------------
  7995. TEXT: H| pb                Bulk junction potential                 |
  7996. TEXT: H| cgso              Gate-source overlap cap.                |
  7997. TEXT: H| cgdo              Gate-drain overlap cap.                 |
  7998. TEXT: H| cgbo              Gate-bulk overlap cap.                  |
  7999. TEXT: H|-----------------------------------------------------------+
  8000. TEXT: H| rsh               Sheet resistance                        |
  8001. TEXT: H| cj                Bottom junction cap per area            |
  8002. TEXT: H| mj                Bottom grading coefficient              |
  8003. TEXT: H| cjsw              Side junction cap per area              |
  8004. TEXT: H ------------------------------------------------------------
  8005. TEXT: H| mjsw              Side grading coefficient                |
  8006. TEXT: H| js                Bulk jct. sat. current density          |
  8007. TEXT: H| ld                Lateral diffusion                       |
  8008. TEXT: H| tox               Oxide thickness                         |
  8009. TEXT: H|-----------------------------------------------------------+
  8010. TEXT: H| u0                Surface mobility                        |
  8011. TEXT: H| uo                (null)                                  |
  8012. TEXT: H| fc                Forward bias jct. fit parm.             |
  8013. TEXT: H| tpg               Gate type                               |
  8014. TEXT: H ------------------------------------------------------------
  8015. TEXT: H| nsub              Substrate doping                        |
  8016. TEXT: H| nss               Surface state density                   |
  8017. TEXT: H| tnom              Parameter measurement temperature       |
  8018. TEXT: H ------------------------------------------------------------
  8019. TEXT: H
  8020. TEXT: H 
  8021. TEXT: H ------------------------------------------------------------
  8022. TEXT: H|           Mos6 - model parameters (output-only)           |
  8023. TEXT: H|-----------------------------------------------------------+
  8024. TEXT: H| type              N-channel or P-channel MOS              |
  8025. TEXT: H ------------------------------------------------------------
  8026. TEXT: H
  8027.  
  8028. SUBJECT: Resistor
  8029. TITLE: Resistor:  Simple linear resistor
  8030. TEXT: H
  8031. TEXT: H _B._2_1.  _R_e_s_i_s_t_o_r:  _S_i_m_p_l_e _l_i_n_e_a_r _r_e_s_i_s_t_o_r
  8032. TEXT: H 
  8033. TEXT: H ------------------------------------------------------------
  8034. TEXT: H|       Resistor - instance parameters (input-output)       |
  8035. TEXT: H|-----------------------------------------------------------+
  8036. TEXT: H| resistance        Resistance                              |
  8037. TEXT: H| temp              Instance operating temperature          |
  8038. TEXT: H| l                 Length                                  |
  8039. TEXT: H| w                 Width                                   |
  8040. TEXT: H ------------------------------------------------------------
  8041. TEXT: H
  8042. TEXT: H 
  8043. TEXT: H ------------------------------------------------------------
  8044. TEXT: H|        Resistor - instance parameters (output-only)       |
  8045. TEXT: H|-----------------------------------------------------------+
  8046. TEXT: H| i                 Current                                 |
  8047. TEXT: H| p                 Power                                   |
  8048. TEXT: H ------------------------------------------------------------
  8049. TEXT: H
  8050. TEXT: H 
  8051. TEXT: H ------------------------------------------------------------
  8052. TEXT: H|          Resistor - model parameters (input-only)         |
  8053. TEXT: H|-----------------------------------------------------------+
  8054. TEXT: H| r                 Device is a resistor model              |
  8055. TEXT: H ------------------------------------------------------------
  8056. TEXT: H
  8057. TEXT: H 
  8058. TEXT: H ------------------------------------------------------------
  8059. TEXT: H|         Resistor - model parameters (input-output)        |
  8060. TEXT: H|-----------------------------------------------------------+
  8061. TEXT: H| rsh               Sheet resistance                        |
  8062. TEXT: H| narrow            Narrowing of resistor                   |
  8063. TEXT: H| tc1               First order temp. coefficient           |
  8064. TEXT: H| tc2               Second order temp. coefficient          |
  8065. TEXT: H| defw              Default device width                    |
  8066. TEXT: H| tnom              Parameter measurement temperature       |
  8067. TEXT: H ------------------------------------------------------------
  8068. TEXT: H
  8069.  
  8070. SUBJECT: Switch
  8071. TITLE: Switch:  Ideal voltage controlled switch
  8072. TEXT: H
  8073. TEXT: H _B._2_2.  _S_w_i_t_c_h:  _I_d_e_a_l _v_o_l_t_a_g_e _c_o_n_t_r_o_l_l_e_d _s_w_i_t_c_h
  8074. TEXT: H 
  8075. TEXT: H ------------------------------------------------------------
  8076. TEXT: H|         Switch - instance parameters (input-only)         |
  8077. TEXT: H|-----------------------------------------------------------+
  8078. TEXT: H| on                Switch initially closed                 |
  8079. TEXT: H| off               Switch initially open                   |
  8080. TEXT: H ------------------------------------------------------------
  8081. TEXT: H
  8082. TEXT: H 
  8083. TEXT: H ------------------------------------------------------------
  8084. TEXT: H|        Switch - instance parameters (input-output)        |
  8085. TEXT: H|-----------------------------------------------------------+
  8086. TEXT: H| pos_node          Positive node of switch                 |
  8087. TEXT: H| neg_node          Negative node of switch                 |
  8088. TEXT: H ------------------------------------------------------------
  8089. TEXT: H
  8090. TEXT: H 
  8091. TEXT: H ------------------------------------------------------------
  8092. TEXT: H|         Switch - instance parameters (output-only)        |
  8093. TEXT: H|-----------------------------------------------------------+
  8094. TEXT: H| cont_p_node       Positive contr. node of switch          |
  8095. TEXT: H| cont_n_node       Positive contr. node of switch          |
  8096. TEXT: H| i                 Switch current                          |
  8097. TEXT: H| p                 Switch power                            |
  8098. TEXT: H ------------------------------------------------------------
  8099. TEXT: H
  8100. TEXT: H 
  8101. TEXT: H ------------------------------------------------------------
  8102. TEXT: H|          Switch - model parameters (input-output)         |
  8103. TEXT: H|-----------------------------------------------------------+
  8104. TEXT: H| sw                Switch model                            |
  8105. TEXT: H| vt                Threshold voltage                       |
  8106. TEXT: H| vh                Hysteresis voltage                      |
  8107. TEXT: H| ron               Resistance when closed                  |
  8108. TEXT: H| roff              Resistance when open                    |
  8109. TEXT: H ------------------------------------------------------------
  8110. TEXT: H
  8111. TEXT: H 
  8112. TEXT: H ------------------------------------------------------------
  8113. TEXT: H|          Switch - model parameters (output-only)          |
  8114. TEXT: H|-----------------------------------------------------------+
  8115. TEXT: H| gon               Conductance when closed                 |
  8116. TEXT: H| goff              Conductance when open                   |
  8117. TEXT: H ------------------------------------------------------------
  8118. TEXT: H
  8119.  
  8120. SUBJECT: Tranline
  8121. TITLE: Tranline:  Lossless transmission line
  8122. TEXT: H
  8123. TEXT: H _B._2_3.  _T_r_a_n_l_i_n_e:  _L_o_s_s_l_e_s_s _t_r_a_n_s_m_i_s_s_i_o_n _l_i_n_e
  8124. TEXT: H 
  8125. TEXT: H ------------------------------------------------------------
  8126. TEXT: H|        Tranline - instance parameters (input-only)        |
  8127. TEXT: H|-----------------------------------------------------------+
  8128. TEXT: H| ic                Initial condition vector:v1,i1,v2,i2    |
  8129. TEXT: H ------------------------------------------------------------
  8130. TEXT: H
  8131. TEXT: H 
  8132. TEXT: H ------------------------------------------------------------
  8133. TEXT: H|       Tranline - instance parameters (input-output)       |
  8134. TEXT: H|-----------------------------------------------------------+
  8135. TEXT: H| z0                Characteristic impedance                |
  8136. TEXT: H| zo                (null)                                  |
  8137. TEXT: H| f                 Frequency                               |
  8138. TEXT: H| td                Transmission delay                      |
  8139. TEXT: H ------------------------------------------------------------
  8140. TEXT: H| nl                Normalized length at frequency given    |
  8141. TEXT: H| v1                Initial voltage at end 1                |
  8142. TEXT: H| v2                Initial voltage at end 2                |
  8143. TEXT: H| i1                Initial current at end 1                |
  8144. TEXT: H| i2                Initial current at end 2                |
  8145. TEXT: H ------------------------------------------------------------
  8146. TEXT: H
  8147. TEXT: H 
  8148. TEXT: H ------------------------------------------------------------
  8149. TEXT: H|        Tranline - instance parameters (output-only)       |
  8150. TEXT: H|-----------------------------------------------------------+
  8151. TEXT: H| rel               Rel. rate of change of deriv. for bkpt  |
  8152. TEXT: H| abs               Abs. rate of change of deriv. for bkpt  |
  8153. TEXT: H| pos_node1         Positive node of end 1 of t. line       |
  8154. TEXT: H| neg_node1         Negative node of end 1 of t. line       |
  8155. TEXT: H ------------------------------------------------------------
  8156. TEXT: H| pos_node2         Positive node of end 2 of t. line       |
  8157. TEXT: H| neg_node2         Negative node of end 2 of t. line       |
  8158. TEXT: H| delays            Delayed values of excitation            |
  8159. TEXT: H ------------------------------------------------------------
  8160. TEXT: H
  8161.  
  8162. SUBJECT: VCCS
  8163. TITLE: VCCS:  Voltage controlled current source
  8164. TEXT: H
  8165. TEXT: H _B._2_4.  _V_C_C_S:  _V_o_l_t_a_g_e _c_o_n_t_r_o_l_l_e_d _c_u_r_r_e_n_t _s_o_u_r_c_e
  8166. TEXT: H 
  8167. TEXT: H ------------------------------------------------------------
  8168. TEXT: H|          VCCS - instance parameters (input-only)          |
  8169. TEXT: H|-----------------------------------------------------------+
  8170. TEXT: H| ic                Initial condition of controlling source |
  8171. TEXT: H ------------------------------------------------------------
  8172. TEXT: H
  8173. TEXT: H 
  8174. TEXT: H ------------------------------------------------------------
  8175. TEXT: H|         VCCS - instance parameters (input-output)         |
  8176. TEXT: H|-----------------------------------------------------------+
  8177. TEXT: H| gain              Transconductance of source (gain)       |
  8178. TEXT: H ------------------------------------------------------------
  8179. TEXT: H
  8180. TEXT: H 
  8181. TEXT: H ------------------------------------------------------------
  8182. TEXT: H|          VCCS - instance parameters (output-only)         |
  8183. TEXT: H|-----------------------------------------------------------+
  8184. TEXT: H| pos_node          Positive node of source                 |
  8185. TEXT: H| neg_node          Negative node of source                 |
  8186. TEXT: H| cont_p_node       Positive node of contr. source          |
  8187. TEXT: H| cont_n_node       Negative node of contr. source          |
  8188. TEXT: H ------------------------------------------------------------
  8189. TEXT: H| i                 Output current                          |
  8190. TEXT: H| v                 Voltage across output                   |
  8191. TEXT: H| p                 Power                                   |
  8192. TEXT: H ------------------------------------------------------------
  8193. TEXT: H
  8194.  
  8195. SUBJECT: VCVS
  8196. TITLE: VCVS:  Voltage controlled voltage source
  8197. TEXT: H
  8198. TEXT: H _B._2_5.  _V_C_V_S:  _V_o_l_t_a_g_e _c_o_n_t_r_o_l_l_e_d _v_o_l_t_a_g_e _s_o_u_r_c_e
  8199. TEXT: H 
  8200. TEXT: H ------------------------------------------------------------
  8201. TEXT: H|          VCVS - instance parameters (input-only)          |
  8202. TEXT: H|-----------------------------------------------------------+
  8203. TEXT: H| ic                Initial condition of controlling source |
  8204. TEXT: H ------------------------------------------------------------
  8205. TEXT: H
  8206. TEXT: H 
  8207. TEXT: H ------------------------------------------------------------
  8208. TEXT: H|         VCVS - instance parameters (input-output)         |
  8209. TEXT: H|-----------------------------------------------------------+
  8210. TEXT: H| gain              Voltage gain                            |
  8211. TEXT: H ------------------------------------------------------------
  8212. TEXT: H
  8213. TEXT: H 
  8214. TEXT: H ------------------------------------------------------------
  8215. TEXT: H|          VCVS - instance parameters (output-only)         |
  8216. TEXT: H|-----------------------------------------------------------+
  8217. TEXT: H| pos_node          Positive node of source                 |
  8218. TEXT: H| neg_node          Negative node of source                 |
  8219. TEXT: H| cont_p_node       Positive node of contr. source          |
  8220. TEXT: H  cont_n_node       Negative node of contr. source
  8221. TEXT: H ------------------------------------------------------------
  8222. TEXT: H| i                 Output current                          |
  8223. TEXT: H| v                 Output voltage                          |
  8224. TEXT: H| p                 Power                                   |
  8225. TEXT: H ------------------------------------------------------------
  8226. TEXT: H
  8227.  
  8228. SUBJECT: Vsource
  8229. TITLE: Vsource:  Independent voltage source
  8230. TEXT: H
  8231. TEXT: H _B._2_6.  _V_s_o_u_r_c_e:  _I_n_d_e_p_e_n_d_e_n_t _v_o_l_t_a_g_e _s_o_u_r_c_e
  8232. TEXT: H 
  8233. TEXT: H ------------------------------------------------------------
  8234. TEXT: H|         Vsource - instance parameters (input-only)        |
  8235. TEXT: H|-----------------------------------------------------------+
  8236. TEXT: H| pulse             Pulse description                       |
  8237. TEXT: H| sine              Sinusoidal source description           |
  8238. TEXT: H| sin               Sinusoidal source description           |
  8239. TEXT: H| exp               Exponential source description          |
  8240. TEXT: H ------------------------------------------------------------
  8241. TEXT: H| pwl               Piecewise linear description            |
  8242. TEXT: H| sffm              Single freq. FM descripton              |
  8243. TEXT: H| ac                AC magnitude, phase vector              |
  8244. TEXT: H| distof1           f1 input for distortion                 |
  8245. TEXT: H| distof2           f2 input for distortion                 |
  8246. TEXT: H ------------------------------------------------------------
  8247. TEXT: H
  8248. TEXT: H 
  8249. TEXT: H ------------------------------------------------------------
  8250. TEXT: H|        Vsource - instance parameters (input-output)       |
  8251. TEXT: H|-----------------------------------------------------------+
  8252. TEXT: H| dc                D.C. source value                       |
  8253. TEXT: H| acmag             A.C. Magnitude                          |
  8254. TEXT: H| acphase           A.C. Phase                              |
  8255. TEXT: H ------------------------------------------------------------
  8256. TEXT: H
  8257. TEXT: H 
  8258. TEXT: H ------------------------------------------------------------
  8259. TEXT: H|        Vsource - instance parameters (output-only)        |
  8260. TEXT: H|-----------------------------------------------------------+
  8261. TEXT: H| pos_node          Positive node of source                 |
  8262. TEXT: H| neg_node          Negative node of source                 |
  8263. TEXT: H| function          Function of the source                  |
  8264. TEXT: H| order             Order of the source function            |
  8265. TEXT: H ------------------------------------------------------------
  8266. TEXT: H| coeffs            Coefficients for the function           |
  8267. TEXT: H| acreal            AC real part                            |
  8268. TEXT: H| acimag            AC imaginary part                       |
  8269. TEXT: H| i                 Voltage source current                  |
  8270. TEXT: H| p                 Instantaneous power                     |
  8271. TEXT: H ------------------------------------------------------------
  8272.  
  8273.